dlangui v0.10.0 (2022-11-08T19:06:33Z)
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
@
safe
@
nogc
nothrow
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
bottomLeft
bottomRight
empty
height
middle
middlex
middley
size
topLeft
topRight
width
variables
bottom
left
right
top
constructs rectangle using left, top, right, bottom coordinates