CanvasGeometrySendPathTo Method |
Namespace: Microsoft.Graphics.Canvas.Geometry
public void SendPathTo( ICanvasPathReceiver streamReader )
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.