Click or drag to resize
CanvasDrawingSession.DrawGeometry Method (CanvasGeometry, Vector2, 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,
	Vector2 offset,
	Color color,
	float strokeWidth,
	CanvasStrokeStyle strokeStyle
)

Parameters

geometry
Type: Microsoft.Graphics.Canvas.Geometry.CanvasGeometry
offset
Type: System.Numerics.Vector2
color
Type: Windows.UI.Color
strokeWidth
Type: System.Single
strokeStyle
Type: Microsoft.Graphics.Canvas.Geometry.CanvasStrokeStyle
See Also