PeachDrawing.Core

PeachDrawing.Core.CurveContour

CurveContour(PaintPoint, IReadOnlyList<PathCommand>, bool) Constructor

One subpath of a GraphicsPath with its curves intact - the counterpart of PathContour, which is the same subpath already reduced to a polyline. Read it with GetCurveContours().

public CurveContour(PeachDrawing.Core.PaintPoint Start, System.Collections.Generic.IReadOnlyList<PeachDrawing.Core.PathCommand> Commands, bool Closed);

Parameters

Start PaintPoint

where the subpath begins

Commands System.Collections.Generic.IReadOnlyList<PathCommand>

the lines and cubic curves that follow Start, in order

Closed System.Boolean

whether the subpath was explicitly closed (CloseFigure()): a closed subpath is joined back to Start by an implicit final line