public static void AddRoundedRectangle(
this GraphicsPath path,
RectangleF bounds,
float radiusTopLeft,
float radiusTopRight,
float radiusBottomRight,
float radiusBottomLeft
)<ExtensionAttribute>
Public Shared Sub AddRoundedRectangle (
path As GraphicsPath,
bounds As RectangleF,
radiusTopLeft As Single,
radiusTopRight As Single,
radiusBottomRight As Single,
radiusBottomLeft As Single
)public:
[ExtensionAttribute]
static void AddRoundedRectangle(
GraphicsPath^ path,
RectangleF bounds,
float radiusTopLeft,
float radiusTopRight,
float radiusBottomRight,
float radiusBottomLeft
)[<ExtensionAttribute>]
static member AddRoundedRectangle :
path : GraphicsPath *
bounds : RectangleF *
radiusTopLeft : float32 *
radiusTopRight : float32 *
radiusBottomRight : float32 *
radiusBottomLeft : float32 -> unit The rounded rectangle is added as a new closed figure.
If any of the corner radius parameters is negative, the absolute value will be used. If the sum of any adjacent corner radius parameters is greater than the corresponding side of the bounding rectangle, then all corner radius parameters will be scaled down proportionally to fit into the bounding rectangle.