dg2d ~master (2020-11-11T23:31:17Z)
Dub
Repo
Rect.opBinary
dg2d
rect
Rect
operator overload for add, subtract or multiply.
Rect
opBinary
(Point rhs)
Rect
opBinary
(Scalar[2] rhs)
struct
Rect
Rect
opBinary
(
string
op
)
(
Scalar
[2]
rhs
)
if
(
op.among
!("+", "-", "*")
)
Rect
opBinary
(Scalar rhs)
Meta
Source
See Implementation
dg2d
rect
Rect
constructors
this
functions
area
asPath
center
height
isEmpty
opBinary
width
variables
x0
x1
y0
y1
operator overload for add, subtract or multiply.