TRect class

Inheritance

Constructors

TRect.new([int lft = 0, int top = 0, int rgh = 0, int btm = 0])
TRect.pts(TPoint p1, TPoint p2)
TRect.rect(RECT r)
TRect.size(int lft, int top, int width, int height)

Properties

Bottom int
getter/setter pair
bottom int
getter/setter pairinherited
BottomRight TPoint
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
Height int
no setter
height int
getter/setter pairinherited
isValid bool
no setter
Left int
getter/setter pair
left int
getter/setter pairinherited
pts List<POINT>
no setterinherited
getter/setter pair
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Top int
getter/setter pair
top int
getter/setter pairinherited
TopLeft TPoint
getter/setter pair
Width int
no setter
width int
getter/setter pairinherited

Methods

accept(int x, int y) bool
assign(RECT r) → void
inherited
assign_pts(List<POINT> pts) → void
inherited
clip(int left, int top, int right, int bottom) → void
copy() TRect
expand() → void
init() → void
intersect(TRect rect) TRect?
isEmpty() bool
isEqual(TRect r) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offset(int dx, int dy) → void
toString() String
A string representation of this object.
inherited
valid() → void

Operators

operator ==(Object other) bool
The equality operator.
inherited