Arc(Vector2, float, Angle, Angle, ArcDirection)
Adds an arc to the current sub-path to the provided position, radius and angles.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public void Arc(Vector2 center, float radius, Angle startAngle, Angle endAngle, ArcDirection direction = ArcDirection.Clockwise)
Parameters
The center position of the arc.
The radius of the arc.
The starting angle the arc.
The ending angle of the arc.
The direction of the arc (default=clock-wise).