dlangui v0.10.6 (2024-03-04T10:48:08Z)
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
@
safe
@
nogc
nothrow
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 two points - (left, top), (right, bottom) coordinates