Object-Rectangle

From Spheriki

Jump to: navigation, search

The Rectangle object describes a previously-set video clipping rectangle.


Contents

Initalizers


Methods

None.


Members

  • x Number. X-coordinate of the clipping rectangle.
  • y Number. Y-coordinate of the clipping rectangle.
  • width Number, non-negative. The width of the clipping rectangle.
  • height Number, non-negative. The height of the clipping rectangle.


Examples

See examples for GetClippingRectangle().


Notes

  • Do not confuse this object with the Rectangle() primitive drawing function. This object only holds properties relating to clipping rectangles, whereas the Rectangle() function draws a rectangle on the video buffer.


See also

Personal tools