Click or drag to resize
CanvasPathBuilderAddGeometry Method
Adds all the figures of the specified geometry to the path.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void AddGeometry(
	CanvasGeometry geometry
)

Parameters

geometry
Type: Microsoft.Graphics.Canvas.GeometryCanvasGeometry
Remarks

This method will fail if BeginFigure was called without a subsequent call to EndFigure.

If the input geometry was produced using CanvasGeometry.CreateRoundedRectangle, CanvasGeometry.CreateEllipse, or CanvasGeometry.CreateCircle, this will result in the geometry being processed through CanvasGeometry.Simplify.

See Also