Xojo.Core.Rect

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

Constructor(left As Double, top As Double, width As Double, height As Double)


Constructor(origin As Point, size As Size)


Operators
Compare

See Also

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