Package: pumpkin.display
The Graphics class contains a set of methods for drawing shapes on a Sprite.
Create empty Graphics object. |
HitTest delegate. | |
Clears the current list of graphics to be drawn. | |
Draw solid rectangle to the Sprite. | |
Draw Rectangle using a Texture. | |
Draw Rectangle using a Material. | |
Draw Rectangle using a material. | |
| |
Returns the draw bounds rectangle. | |
Returns the draw bounds rectangle as reference. | |
[Obsolete] Hit test draw object (bounds only) | |
Hit test draw object (bounds only) | |
Invalidate draw cache, internal function. | |
Get draw operation at index. | |
Draw tile material with matrix transform. |
Draw operation list. | |
Custom hit test. | |
Flags changes to graphic elements. | |
Enable per pixel hit-testing, requires the material texture to be readable. |