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