Object-Rectangle
From Spheriki
The Rectangle object describes a previously-set video clipping rectangle.
Contents |
[edit]
Initalizers
[edit]
Methods
None.
[edit]
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.
[edit]
Examples
See examples for GetClippingRectangle().
[edit]
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.
- This object is only used by GetClippingRectangle() to return values in a simple manner. SetClippingRectangle() only accepts dimension parameters separately (x, y, width and height).
[edit]

