Graphics Class
The Graphics class contains a set of methods that you can use to create primitive shapes and lines. It is important to know that with the webGL renderer only simple polys can be filled at this stage Complex polys will not be filled. Heres an example of a complex polygon. This is directly exposing PIXI.Graphics