There is no draw_ellipse?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By monnef

Is it possible to (easily, without calculating ellipse points manually) draw a filled ellipse in a tool script in the editor?

I don’t see it in docs of ConvasItem (where other draw_ methods are), but maybe it’s called something unexpected?

You could draw a circle and scale it in one dimension to create an ellipse.

DDoop | 2021-01-26 17:40

:bust_in_silhouette: Reply From: godot.ma.desive.logo

I think it isn’t, but you can transform a circle by draw_set_transform()

draw_set_transform(Vector2(18,64),0,Vector2(2,3))
draw_circle(Vector2(0,0),60.0,Color(0.0,0.0,0.0,0.2))