SvgGraphicsDrawRoundedRectangle Method
Draws a rounded rectangle specified by a coordinate pair, a width, and a height.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
public void DrawRoundedRectangle(
ColorPen pen,
float x,
float y,
float width,
float height,
float arcSize
)
Public Sub DrawRoundedRectangle (
pen As ColorPen,
x As Single,
y As Single,
width As Single,
height As Single,
arcSize As Single
)
public:
virtual void DrawRoundedRectangle(
ColorPen^ pen,
float x,
float y,
float width,
float height,
float arcSize
) sealed
abstract DrawRoundedRectangle :
pen : ColorPen *
x : float32 *
y : float32 *
width : float32 *
height : float32 *
arcSize : float32 -> unit
override DrawRoundedRectangle :
pen : ColorPen *
x : float32 *
y : float32 *
width : float32 *
height : float32 *
arcSize : float32 -> unit
- 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.
IGraphicsDrawRoundedRectangle(ColorPen, Single, Single, Single, Single, Single)