BezierSegmentsToPath(BezierSegment[])
Converts an array of BezierSegments into a connected path.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public static BezierPathSegment[] BezierSegmentsToPath(BezierSegment[] segments)
Parameters
An array of BezierSegment
Returns
Type | Description |
|---|---|
| BezierPathSegment[] | An array of path segments |
Remarks
If two consecutive segments are disconnected, a straight line will be added between the two endpoints.