Skip to content
Vadim Grigoruk edited this page Apr 29, 2021 · 11 revisions

elli

This API was added in version 0.90.

elli x y a b color

Parameters

  • x : the x coordinate of the ellipse center
  • y : the y coordinate of the ellipse center
  • a : the horizontal radius of the ellipse in pixels
  • b : the vertical radius of the ellipse in pixels
  • color: the index of the desired color in the current palette

Description

This function draws a filled ellipse of the desired radiuses a b and color with its center at x, y. It uses the Bresenham algorithm.

Clone this wiki locally