Click or drag to resize
CanvasDrawingSessionDrawRectangle Method (Rect, Color, Single)
Draws a rectangle of the specified stroke width and color.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void DrawRectangle(
	Rect rect,
	Color color,
	float strokeWidth
)

Parameters

rect
Type: Windows.FoundationRect
color
Type: Windows.UIColor
strokeWidth
Type: SystemSingle
See Also