$drawArc

Draws a circular arc with the specified center, begin and end angle and radius.
Syntax
    $drawArc{x}{y}{begin_angle}{end_angle}{radius}{flag}
DocumentationDraws a circular arc with the specified center, begin and end angle and radius:

    Parameters:
      (x, y), the coordinates of the center of the arc to be drawn.
      begin_angle, the angle the arc beginns at.
      end_angle, the angle the arc extends at.
      radius, the radius of the arc.
      flag, a flag to indicate that the radius of the arc should be also drawn if equals to 1 or not if equals to 0.
    Note:
      the template using this function must have the content type 'image/gif' or 'image/jpeg'.
Examples
    $createImage{600}{600}
    $setDrawColor{red}
    $drawArc{150}{150}{0}{180}{100}{1}

    Result:
    in the image with a size of 600/600 pixels a red arc with the radius of 100 pixels
    from angle 1=0 to angle 2=180 at the point x=150 / y=150 appears
GroupGraphic
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters6
Maximum parameters 6