Click or drag to resize
CanvasGeometryCreatePath Method
Creates a new path geometry, populated with data from the specified path builder.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static CanvasGeometry CreatePath(
	CanvasPathBuilder pathBuilder
)

Parameters

pathBuilder
Type: Microsoft.Graphics.Canvas.GeometryCanvasPathBuilder

Return Value

Type: CanvasGeometry
Remarks
Creating a new CanvasGeometry will close the CanvasPathBuilder object, and render it unavailable for further use. To create another CanvasGeometry, create a new CanvasPathBuilder. If your app needs to create multiple paths, say, where one is a strict subset of the other, consider using multiple CanvasPathBuilder objects.
See Also