dgt ~master (2017-09-21T16:04:46Z)
Dub
Repo
Rectangle.this
dgt
geom
Rectangle
Create a rectangle with the given dimension
this
(
in
float
x
,
in
float
y
,
in
float
width
,
in
float
height
)
struct
Rectangle
@
nogc
nothrow pure
this
(
in
float
x
,
in
float
y
,
in
float
width
,
in
float
height
)
this
(
in
float
width
,
in
float
height
)
this
(
in
Vector
top
,
in
Vector
dimension
)
Meta
Source
See Implementation
dgt
geom
Rectangle
constructors
this
functions
constrain
contains
overlaps
set
translate
variables
size
topLeft
Create a rectangle with the given dimension