JSBounds
Overview
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.
Summary
The JSBounds
object provides a straightforward interface to manage position and size through its properties, making it useful for layout and graphical computations.
Properties Summarized
Get/Set height
Get/Set width.
Get/Set x coordinate.
Get/Set y coordinate
Properties Detailed
height
Get/Set height
Type Number height
Sample
width
Get/Set width.
Type Number width
Sample
x
Get/Set x coordinate.
Type Number x coordinate
Sample
y
Get/Set y coordinate
Type Number y
Sample
Last updated