W3cubDocs

/Electron

Rectangle Object

  • x Number - The x coordinate of the origin of the rectangle (must be an integer).
  • y Number - The y coordinate of the origin of the rectangle (must be an integer).
  • width Number - The width of the rectangle (must be an integer).
  • height Number - The height of the rectangle (must be an integer).

© GitHub Inc.
Licensed under the MIT license.
https://www.electronjs.org/docs/api/structures/rectangle