user1762507
user1762507

Reputation: 782

How can I draw a filled in circle with andengine?

I am using Andengine GLES 2.0 anchor center branch and I am trying to draw a filled in circle. I tried using the Ellipse class it comes with but all I can get is an outline of a circle not a filled in one like I want. I looked around and all I could find were places showing how to draw an outline so this must be a simple thing. So how can I draw a filled in circle with Andengine GLES 2.0 anchor center?

Upvotes: 0

Views: 1429

Answers (1)

user1762507
user1762507

Reputation: 782

To make a filled circle/ellipse just go mEllipse.setDrawMode(DrawMode.TRIANGLE_FAN);

Upvotes: 1

Related Questions