Click or drag to resize
CanvasDrawingSessionDrawGeometry Method (CanvasGeometry, Single, Single, 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,
	float x,
	float y,
	ICanvasBrush brush,
	float strokeWidth
)

Parameters

geometry
Type: Microsoft.Graphics.Canvas.GeometryCanvasGeometry
x
Type: SystemSingle
y
Type: SystemSingle
brush
Type: Microsoft.Graphics.Canvas.BrushesICanvasBrush
strokeWidth
Type: SystemSingle
See Also