- this
this(Scalar x0, Scalar y0, Scalar x1, Scalar y1)
Construct a RoundRect with square corners.
- this
this(Scalar x0, Scalar y0, Scalar x1, Scalar y1, Scalar rad)
Construct a RoundRect with circular corners.
- this
this(Scalar x0, Scalar y0, Scalar x1, Scalar y1, Scalar xRad, Scalar yRad)
Construct a RoundRect with eliptical corners.
- this
this(Scalar x0, Scalar y0, Scalar x1, Scalar y1, float[4] xRad, float[4] yRad)
Construct a RoundRect specifying each corner seperately.
- area
Scalar area()
- asPath
auto asPath()
Undocumented in source. Be warned that the author may not have intended to support it.
- center
Point center()
returns the center of the rect
- height
Scalar height()
- isEmpty
bool isEmpty()
Returns true if (x0 >= x1) or (y0 >= y1)
- opBinary
RoundRect opBinary(Point rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
RoundRect opBinary(Point rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
RoundRect opBinary(Scalar[2] rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
RoundRect opBinary(Scalar[2] rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
RoundRect opBinary(Scalar rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
- width
Scalar width()
Rounded rectangle.