drawCircle


void drawCircle(const int centerX, const int centerY, const int radius)
Parameter Explanation Data Type
Return Type The function returns no value. void
centerX The X coordinate for the center of the circle that will be drawn. int
centerY The Y coordinate for the center of the circle that will be drawn. int
radius The radius of the circle that will be drawn. int
  • Draws a circle specified by centerX, centerY, and radius.
    • centerX values range from 0 to 127
    • centerY values range from 0 to 47

 

Code Sample

drawCircle(10, 20, 5); //Draw a circle with a center point of 10,20 and a radius of 5 pixels