Arc


Use Arc to create part of a circle with the option to fill in the gap using a pie type segment.

Arc Parameters

from

Starting point on the circle for the arc in degrees.

to

Ending point on the circle for the arc in degress.

Radius

Radius of shape.

pie

Fill in the missing part with a pie type section forming a closed shape.

Arc Class

public class MegaShapeArc : MegaShape
{
    public float    from;
    public float    to;
    public float    radius;
    public bool     pie;
}

You must be logged in to post a comment.