JSBounds
Last updated
Was this helpful?
The JSBounds object defines a rectangular boundary using coordinates and dimensions, enabling the specification of position and size. ## Properties
height: The height of the bounds. It can be retrieved or modified.
width: The width of the bounds. It can be retrieved or modified.
x: The x-coordinate of the top-left corner. It can be retrieved or modified.
y: The y-coordinate of the top-left corner. It can be retrieved or modified.
The JSBounds object provides a straightforward interface to manage position and size through its properties, making it useful for layout and graphical computations.
Get/Set height
Type Number height
Sample
Get/Set width.
Type Number width
Sample
Get/Set x coordinate.
Type Number x coordinate
Sample
Get/Set y coordinate
Type Number y
Sample
Last updated
Was this helpful?
Was this helpful?
bounds.heightbounds.widthbounds.xbounds.y