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

Class Mask

object --+    
         |    
   _Vector --+
             |
            Mask

A PATH from an SVG file that will be drawn by pyCairo commands. First add the SVG file to your Bag Of Stuff. see help(BagOfStuff.add) Don't instantiate directly.

Use

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

Note

draw() does not stroke or fill the object.

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__