public static void DrawRoundedRectangle(
this Graphics graphics,
Pen pen,
RectangleF bounds,
float radiusTopLeft,
float radiusTopRight,
float radiusBottomRight,
float radiusBottomLeft
)
<ExtensionAttribute>
Public Shared Sub DrawRoundedRectangle (
graphics As Graphics,
pen As Pen,
bounds As RectangleF,
radiusTopLeft As Single,
radiusTopRight As Single,
radiusBottomRight As Single,
radiusBottomLeft As Single
)
public:
[ExtensionAttribute]
static void DrawRoundedRectangle(
Graphics^ graphics,
Pen^ pen,
RectangleF bounds,
float radiusTopLeft,
float radiusTopRight,
float radiusBottomRight,
float radiusBottomLeft
)
[<ExtensionAttribute>]
static member DrawRoundedRectangle :
graphics : Graphics *
pen : Pen *
bounds : RectangleF *
radiusTopLeft : float32 *
radiusTopRight : float32 *
radiusBottomRight : float32 *
radiusBottomLeft : float32 -> unit
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.