SegmentsInPath(IEnumerable<BezierPathSegment>, bool)
Iterates through every segment in a list of path segments.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public static IEnumerable<BezierSegment> SegmentsInPath(IEnumerable<BezierPathSegment> segments, bool closed = false)
Parameters
The path segments to iterate from
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 |