IGraphicsDrawRoundedRectangle Method

Draws a rounded rectangle specified by a coordinate pair, a width, and a height.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.4.0.0
C#
void DrawRoundedRectangle(
	ColorPen pen,
	float x,
	float y,
	float width,
	float height,
	float arcSize
)

Parameters

pen  ColorPen
A ColorPen that determines the color, width, and style of the rounded rectangle.
x  Single
The x-coordinate of the upper-left corner of the rounded rectangle to draw.
y  Single
The y-coordinate of the upper-left corner of the rounded rectangle to draw.
width  Single
The width of the rounded rectangle to draw.
height  Single
The height of the rounded rectangle to draw.
arcSize  Single
Size of the arcs on the rounded rectangle corners.

See Also