0 votes

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?

Godot version 3.2.3
in Engine by (135 points)

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

1 Answer

0 votes

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))
by (96 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.