BezierSegmentToPath(BezierSegment)
Convert a segments into a path.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public static BezierPathSegment[] BezierSegmentToPath(BezierSegment segment)
Parameters
The BezierSegment
Returns
Type | Description |
|---|---|
| BezierPathSegment[] | An array of two path segments |
Remarks
The second path segment will hold the ending position of the curve.