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–2017 GitHub Inc.
Licensed under the MIT license.
https://electron.atom.io/docs/api/structures/rectangle/