CanvasGeometryCreateInk Method (ICanvasResourceCreator, IEnumerableInkStroke) |
Namespace: Microsoft.Graphics.Canvas.Geometry
public static CanvasGeometry CreateInk( ICanvasResourceCreator resourceCreator, IEnumerable<InkStroke> inkStrokes )
Uses the default flattening tolerance and identity transform on the input strokes.
Geometry created from ink typically contains many overlapping stroke segments and circles. After using CreateInk, it may be desirable to clean up these self-intersections by calling Outline.
Note that CanvasGeometry does not support pencil ink strokes (InkDrawingAttributesKind.Pencil). Passing pencil strokes will produce an empty geometry.