Method AddLines
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
AddLines(ReadOnlySpan<Point2Float>)
Creates a sequence of lines using the specified points and adds them to the geometry sink.
void AddLines(ReadOnlySpan<Point2Float> points)
Parameters
points
ReadOnlySpan<Point2Float>A pointer to an array of one or more points that describe the lines to draw. A line is drawn from the geometry sink's current point (the end point of the last segment drawn or the location specified by BeginFigure(Point2Float, FigureBegin)) to the first point in the array. if the array contains additional points, a line is drawn from the first point to the second point in the array, from the second point to the third point, and so on.