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

Class Path

object --+    
         |    
   _Vector --+
             |
            Path

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)

There is no ostensible difference between a 'mask' and a 'path'. The two are conceptually split according to end-use. However, I have not written the path-following code yet, so this is all moot.

Don't instantiate directly.

Use

bos["scifi:planet_orbit"].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__