BezierSegmentsToPath(BezierSegment[])
Converts an array of BezierSegments into a connected path.
Read time 1 minuteLast updated 12 days ago
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.