Draw circle color: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
(No difference)

Revision as of 19:31, 15 March 2012



This function is part of the function set Drawing shapes

Notation

draw_circle_color(x,y,r,col1,col2,outline)

Description

Draw a circle using a gradient of the colors col1 and col2 at (x,y) with radius r. If outline is true the circle is not filled in.

Parameters

  • (x,y): indicate the coordinates for the center of the circle.
  • r: indicates the radius around the center for the circle.
  • col1: the color at the center of the circle.
  • col2: the color at the outer edges of the circle.
  • outline: indicates whether to only draw the outline (true) or fill the circle (false).

Return Values

none

Example Call

draw_circle_color(100, 100, 16, c_red, c_blue, false);