Click or drag to resize
CanvasDrawingSessionDrawRectangle Method (Rect, ICanvasBrush, Single)
Draws a rectangle of the specified stroke width, using a brush to define the 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,
	ICanvasBrush brush,
	float strokeWidth
)

Parameters

rect
Type: Windows.FoundationRect
brush
Type: Microsoft.Graphics.Canvas.BrushesICanvasBrush
strokeWidth
Type: SystemSingle
See Also