dlangui v0.9.187 (2022-04-16T10:49:25Z)
Home
Dub
Repo
Rect.this
dlangui
core
types
Rect
constructs rectangle using two points - (left, top), (right, bottom) coordinates
this
(int x0, int y0, int x1, int y1)
this
(Point pt0, Point pt1)
struct
Rect
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 two points - (left, top), (right, bottom) coordinates