Click or drag to resize
CanvasDrawingSessionDrawGeometry Method (CanvasGeometry, Single, Single, Color, Single, CanvasStrokeStyle)
Draws a geometry relative to the specified position, with the specified stroke width, stroke style, and 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,
	float x,
	float y,
	Color color,
	float strokeWidth,
	CanvasStrokeStyle strokeStyle
)

Parameters

geometry
Type: Microsoft.Graphics.Canvas.GeometryCanvasGeometry
x
Type: SystemSingle
y
Type: SystemSingle
color
Type: Windows.UIColor
strokeWidth
Type: SystemSingle
strokeStyle
Type: Microsoft.Graphics.Canvas.GeometryCanvasStrokeStyle
See Also