Xojo.Core.Rect

From Xojo Documentation

Revision as of 14:28, 24 October 2018 by PLefebvre (talk | contribs) (See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from Object)

A way to represent an axis-aligned rectangular area. Rect can be used for window size/position, control size/position and drawing of controls.

Properties
Bottom fa-lock-32.png Left fa-lock-32.png Size fa-lock-32.png
Center fa-lock-32.png Origin fa-lock-32.png Top fa-lock-32.png
Height fa-lock-32.png Right fa-lock-32.png Width fa-lock-32.png
Methods
Contains Intersection Union
Inset Offset
Constructors

Xojo.Core.Rect.Constructor(left As Double, top As Double, width As Double, height As Double)


Xojo.Core.Rect.Constructor(origin As Point, size As Size)


Operators
Compare

See Also

Xojo.Core.Point, Xojo.Core.Size classes