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)

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