Struct SegmentEnumerator
- Namespace
- SixLabors.ImageSharp.Drawing
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Enumerates the derived linear segments in a LinearGeometry.
public ref struct SegmentEnumerator
- Inherited Members
Remarks
The enumerator derives segments from Points and Contours. Segments are yielded in contour order. Within each contour, adjacent stored points form segments in point order, and a closed contour contributes one additional closing segment from its last stored point back to its first.
Properties
Current
Gets the current derived linear segment.
public readonly LinearSegment Current { get; }
Property Value
Methods
MoveNext()
Advances to the next derived segment.
public bool MoveNext()