MobileForms Toolkit Documentation

GraphicsEx.FillRoundedRectangle Method (Graphics, Brush, Int32, Int32, Int32, Int32, Int32, RoundedCornerStyles, Boolean)

Fills the interior or exterior of a rounded rectangle specified by a pair of coordinates, a width, and a height.

public static void FillRoundedRectangle(
Graphics gr,
Brush brush,
int x,
int y,
int width,
int height,
int radius,
RoundedCornerStyles corners,
bool inverted
);

Parameters

gr
Graphics to use.
brush
Brush that determines the characteristics of the fill.
x
The x-coordinate of the upper-left corner of the rectangle to fill.
y
The y-coordinate of the upper-left corner of the rectangle to fill.
width
>Width of the rectangle to fill.
height
Height of the rectangle to fill.
radius
Radius that determines the corners.
corners
RoundedCornerStyles that determines the characteristics of the fill.
inverted
false to fill interior, otherwise true.

See Also

GraphicsEx Class | Resco.Drawing Namespace | GraphicsEx.FillRoundedRectangle Overload List