Click or drag to resize
CanvasGeometrySendPathTo Method
Sends all of this geometry's path data to an application-implemented interface.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void SendPathTo(
	ICanvasPathReceiver streamReader
)

Parameters

streamReader
Type: Microsoft.Graphics.Canvas.GeometryICanvasPathReceiver
Remarks

The path data is sent to the ICanvasPathReceiver, in order, following along its contours. Retriving path data can be used for reconstruction of shapes or for serialization.

If this geometry was created using CanvasGeometry.CreatePath, this is a straightforward, lossless operation.

Otherwise, the geometry will be passed through a CanvasGeometry.Simplify operation.

See Also