Reputation: 45
i was able to integrate starling in my flashdevelop enviroment and Im able to create quads with the built in Quad class.
Now I need to create circles.
How do I create circles with code?
Mirza
Upvotes: 1
Views: 2674
Reputation: 377
There is now the starling.display.Canvas
class which provides support for basic vector drawing, including circles.
Upvotes: 0
Reputation: 6751
I believe that Starling doesn't have a Drawing API by default, but you can check out this drawing API :
https://github.com/StarlingGraphics/Starling-Extension-Graphics
There are likely other extensions to add the same functionality.
Edit : -- Please also see the first comment by @jpop under the question as if you don't need to redraw the graphics often, it's an excellent solution that doesn't require the extension.
Upvotes: 4