Painter2D.Arc

Declaration

public void Arc(Vector2 center, float radius, UIElements.Angle startAngle, UIElements.Angle endAngle, UIElements.ArcDirection direction);

Parameters

center The center position of the arc.
radius The radius of the arc.
startAngle The starting angle the arc.
endAngle The ending angle of the arc.
direction The direction of the arc (default=clock-wise).

Description

Adds an arc to the current sub-path to the provided position, radius and angles.


Did you find this page useful? Please give it a rating: