Method SegmentsInPath
SegmentsInPath(IEnumerable<BezierPathSegment>, bool)
Iterates through every segment in a list of path segments.
Declaration
public static IEnumerable<BezierSegment> SegmentsInPath(IEnumerable<BezierPathSegment> segments, bool closed = false)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<BezierPathSegment> | segments | The path segments to iterate from |
bool | closed | Whether to return the segment connecting the last point to the beginning of the path |
Returns
Type | Description |
---|---|
IEnumerable<BezierSegment> | An enumerable of every segments in the path |