Arc 

                   (Obsolete)

Description:              This statement draws an arc on the screen.

Returns:                    Nothing

Usage:                       Steady State

Format:                      Arc(X, Y, Radius, Angle1, Angle2, Width, Color)

Parameters:             X    { numeric }  { required }  { no default: }

                                                Any numeric expression giving the X coordinate of the center of the arc on the screen.

                                    Y   { numeric }  { required }  { no default: }

                                                Any numeric expression giving the Y coordinate of the center of the arc on the screen.

                                    Radius   { numeric }  { required }  { no default: }

                                                Any numeric expression giving the radius of the arc specified in units of X screen coordinates.

                                    Angle1   { numeric }  { required }  { no default: }

                                                Any numeric expression giving the starting angle of the arc specified in radians. An angle of 0 lies on the X axis to the right of the center of the arc.

                                    Angle2   { numeric }  { required }  { no default: }

                                                Any numeric expression giving the ending angle of the arc specified in radians.

                                    Width   { numeric }  { required }  { no default: }

                                                Any numeric expression giving the line width for the arc. The width is specified in terms of X screen coordinates. Any width less than 1 screen pixel is treated as a 1 pixel arc.

                                    Color   { numeric }  { required }  { no default: }

                                                Any numeric expression giving one of the reserved color values for the arc.

Comments:               The Arc statement has been superseded by the GUIArc function and is maintained for backwards compatibility only.

                             The arc is drawn in a counterclockwise direction from the Angle1 to Angle2. It is a non-destructive graphic statement that exclusive OR's with the existing background.

Example:

Arc(500, 500 { X and Y coordinates },

    100 { Radius in screen coordinates },

    0 { Starting angle in radians - 3 o'clock },

    4.71 { Ending angle in radians - 6 o'clock },

    10 { Arc line thickness in screen coordinates },

    15 { Color is white });

See Also:

Circle | GUIArc | GUIPie | Pie