Click or drag to resize
CanvasDrawingSessionDrawGeometry Method (CanvasGeometry, ICanvasBrush, Single, CanvasStrokeStyle)
Draws a geometry relative to the origin, with the specified stroke width and stroke style, and 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 DrawGeometry(
	CanvasGeometry geometry,
	ICanvasBrush brush,
	float strokeWidth,
	CanvasStrokeStyle strokeStyle
)

Parameters

geometry
Type: Microsoft.Graphics.Canvas.GeometryCanvasGeometry
brush
Type: Microsoft.Graphics.Canvas.BrushesICanvasBrush
strokeWidth
Type: SystemSingle
strokeStyle
Type: Microsoft.Graphics.Canvas.GeometryCanvasStrokeStyle
See Also