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
Properties Detailed
height
Get/Set height
Type Number height
Sample
bounds.heightwidth
Get/Set width.
Type Number width
Sample
bounds.widthx
Get/Set x coordinate.
Type Number x coordinate
Sample
bounds.xy
Get/Set y coordinate
Type Number y
Sample
bounds.yLast updated
Was this helpful?