Starling Graphics is a Starling extension that adds Jon Pace’s ‘Fill’ and ‘Stroke’ display objects, reproducing the flash.display.Graphics class. It has support for adding arbitrary vertices that are then triangulated for rendering on the GPU.

The aim is to reproduce Flash’s graphics API as closely as possible via simplified lineTo(), moveTo() etc calls within Shape.graphics and Sprite.graphics.