PeachDrawing.Core

PeachDrawing.Core.GraphicsPath

GraphicsPath.GetCurveContours() Method

Reads this path’s recorded geometry with its curves intact: one CurveContour per subpath, made of lines and cubic Béziers (every arc already converted to cubics at record time). Like Flatten(double) it is independent of whatever native representation a concrete subclass also builds, and it returns a snapshot: later edits to the path do not change a list already returned. This is what geometry that must stay curved - measuring a path’s length, or combining two paths - reads instead of the flattened polylines.

public System.Collections.Generic.IReadOnlyList<PeachDrawing.Core.CurveContour> GetCurveContours();

Returns

System.Collections.Generic.IReadOnlyList<CurveContour>
the subpaths, in the order they were recorded