Struct RoundedRectangle
Contains the dimensions and corner radii of a rounded rectangle.
public struct RoundedRectangle
- Inherited Members
Remarks
Each corner of the rectangle specified by the rect is replaced with a quarter ellipse, with a radius in each direction specified by radiusX and radiusY.
If the radiusX is greater than or equal to half the width of the rectangle, and the radiusY is greater than or equal to one-half the height, the rounded rectangle is an ellipse with the same width and height of the rect.
Even when both radiuX and radiusY are zero, the rounded rectangle is different from a rectangle., When stroked, the corners of the rounded rectangle are roundly joined, not mitered (square).
Fields
RadiusX
The x-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
public float RadiusX
Field Value
RadiusY
The y-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
public float RadiusY
Field Value
Rect
The coordinates of the rectangle.
public RawRectangleF Rect
Field Value
- RawRectangleF