dlangui ~master (2022-06-02T17:41:37Z)
Home
Dub
Repo
Rect.this
dlangui
core
types
Rect
constructs rectangle using left, top, right, bottom coordinates
this
(int x0, int y0, int x1, int y1)
struct
Rect
this
(
int
x0
,
int
y0
,
int
x1
,
int
y1
)
this
(Point pt0, Point pt1)
Meta
Source
See Implementation
dlangui
core
types
Rect
aliases
moveBy
constructors
this
functions
expand
intersect
intersects
isInsideOf
isPointInside
moveToFit
offset
opEquals
setMax
shrink
properties
bottomRight
empty
height
middle
middlex
middley
size
topLeft
width
variables
bottom
left
right
top
constructs rectangle using left, top, right, bottom coordinates