Package Things :: Module BagOfStuff :: Class Sprite
[frames] | no frames]

Class Sprite

object --+    
         |    
   _Vector --+
             |
            Sprite

A GROUP from an SVG file that will be displayed as a single thing. First add the SVG file to your Bag Of Stuff. see help(BagOfStuff.add) Don't instantiate directly.

Use

bos["scifi:robot"].draw(ctx)

Instance Methods
 
draw(self, ctx)

Inherited from _Vector: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__