PeachDrawing.Core
PeachDrawing.Core.PathCommand
PathCommand(PathCommandKind, PaintPoint, PaintPoint, PaintPoint) Constructor
One drawing step of a CurveContour: a straight line or a cubic Bézier from the previous point (the contour’s Start for the first step) to End. Elliptical arcs never appear as their own kind: GraphicsPath records every arc as the cubic Béziers that approximate it.
public PathCommand(PeachDrawing.Core.PathCommandKind Kind, PeachDrawing.Core.PaintPoint Control1, PeachDrawing.Core.PaintPoint Control2, PeachDrawing.Core.PaintPoint End);
Parameters
Kind PathCommandKind
whether this step is a line or a cubic curve
Control1 PaintPoint
the curve’s first control point; equal to End for a line
Control2 PaintPoint
the curve’s second control point; equal to End for a line
End PaintPoint
where the step ends