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

Type
Name
Summary

Get/Set height

Get/Set width.

Get/Set x coordinate.

Get/Set y coordinate

Properties Detailed

height

Get/Set height

Type Number height

Sample

bounds.height

width

Get/Set width.

Type Number width

Sample

bounds.width

x

Get/Set x coordinate.

Type Number x coordinate

Sample

bounds.x

y

Get/Set y coordinate

Type Number y

Sample

bounds.y

Last updated