PeachDrawing.Core

PeachDrawing.Core.GraphicsPath

GraphicsPath.Flatten(double) Method

Flattens this path’s recorded geometry (independent of whatever native representation a concrete subclass also builds) into polylines within tolerance of the true curve, one PathContour per subpath. Lets any Canvas backend - the raster backend, or a third party’s own - read this path’s geometry without knowing which concrete GraphicsPath built it.

public System.Collections.Generic.IReadOnlyList<PeachDrawing.Core.PathContour> Flatten(double tolerance);

Parameters

tolerance System.Double

Returns

System.Collections.Generic.IReadOnlyList<PathContour>