Click or drag to resize
CanvasDrawingSessionDrawGeometry Method (CanvasGeometry, Vector2, ICanvasBrush, Single)
Draws a geometry relative to the specified position, with the specified stroke width, 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,
	Vector2 offset,
	ICanvasBrush brush,
	float strokeWidth
)

Parameters

geometry
Type: Microsoft.Graphics.Canvas.GeometryCanvasGeometry
offset
Type: System.NumericsVector2
brush
Type: Microsoft.Graphics.Canvas.BrushesICanvasBrush
strokeWidth
Type: SystemSingle
See Also