Click or drag to resize
CanvasDrawingSessionDrawRoundedRectangle Method (Rect, Single, Single, ICanvasBrush, Single, CanvasStrokeStyle)
Draws a rounded rectangle of the specified stroke width, using a brush to define the color and with a custom stroke style.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void DrawRoundedRectangle(
	Rect rect,
	float radiusX,
	float radiusY,
	ICanvasBrush brush,
	float strokeWidth,
	CanvasStrokeStyle strokeStyle
)

Parameters

rect
Type: Windows.FoundationRect
radiusX
Type: SystemSingle
radiusY
Type: SystemSingle
brush
Type: Microsoft.Graphics.Canvas.BrushesICanvasBrush
strokeWidth
Type: SystemSingle
strokeStyle
Type: Microsoft.Graphics.Canvas.GeometryCanvasStrokeStyle
See Also