Module pinky :: Class Path

Class Path

object --+    
         |    
     Shape --+
             |
            Path

A path.

Instance Methods
 
__init__(self, commands)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
transform(self, matrix)
Get a transformed copy of the shape.
 
linearize(self)
Linearize the path.
 
__str__(self)
Format the path as an SVG path string.

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

Class Methods
 
parse(cls, path_str)
Properties
  subpaths
Iterate over the subpaths of the path.

Inherited from Shape: area, bounding_box, centroid

Inherited from object: __class__

Method Details

__init__(self, commands)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

transform(self, matrix)

 

Get a transformed copy of the shape.

Overrides: Shape.transform
(inherited documentation)

__str__(self)
(Informal representation operator)

 

Format the path as an SVG path string.

Overrides: object.__str__

Property Details

subpaths

Iterate over the subpaths of the path.

Get Method:
unreachable.subpaths(self) - Iterate over the subpaths of the path.