API Reference › Screen — drawing › Screen.fill_circle
method

Screen.fill_circle

Screen.fill_circle(x, y, radius, color)

Draws a solid disc centred at (x, y) with the given radius in color, one horizontal span per row. Use it for round bodies, bullets, and glows.

Example

program Demo {
  handler DrawWorld phase Render {
    Screen.clear(Color.MidnightBlue)
    Screen.fill_circle(x: bx, y: by, radius: 6, color: Color.Gold)
    Screen.show()
  }
}
← All symbols