MakeArc(Vector2, float, float, float)
Approximates a circle arc with up to 4 segments.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
public static BezierPathSegment[] MakeArc(Vector2 center, float startAngleRads, float sweepAngleRads, float radius)
Parameters
Returns
Type | Description |
|---|---|
| BezierPathSegment[] | An array of up to four BezierSegments holding the arc |