IGraphicsFillRoundedRectangle Method

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

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.4.0.0
C#
void FillRoundedRectangle(
	ColorBrush brush,
	float x,
	float y,
	float width,
	float height,
	float arcSize
)

Parameters

brush  ColorBrush
ColorBrush that determines the characteristics of the fill.
x  Single
The x-coordinate of the upper-left corner of the rounded rectangle to fill.
y  Single
The y-coordinate of the upper-left corner of the rounded rectangle to fill.
width  Single
Width of the rounded rectangle to fill.
height  Single
Height of the rounded rectangle to fill.
arcSize  Single
Size of the arcs on the rounded rectangle corners.

See Also