SegmentsInPath(IEnumerable<BezierPathSegment>, bool)
Iterates through every segment in a list of path segments.
阅读时间1 分钟最后更新于 1 个月前
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 |