◆ GetArcRect()

static Rect GetArcRect ( float  radius,
float  curveAngle,
float  startingAngle 
)
static
Parameters
radiusThe radius of the arc
curveAnglethe total angle the arc will span. Both positive and negative values are acceptable here.
startingAnglethe starting angle or the arc. The final angle will be equal to this value plus the angle span.
Returns
A Rect, specifying position, width and height, that minimally encapsulates the specified arc.