dgt v0.3.2 (2017-09-19T17:07:41Z)
Dub
Repo
Rectangle.this
dgt
geom
Rectangle
Create a rectangle at 0, 0 with a given size
this
(float x, float y, float width, float height)
this
(float width, float height)
struct
Rectangle
@
nogc
nothrow pure
this
(
in
float
width
,
in
float
height
)
this
(Vector top, Vector dimension)
Meta
Source
See Implementation
dgt
geom
Rectangle
constructors
this
functions
constrain
contains
overlaps
print
set
translate
properties
height
width
x
y
variables
size
topLeft
Create a rectangle at 0, 0 with a given size