Module pinky :: Class Shape

Class Shape

object --+
         |
        Shape
Known Subclasses:

The base class for shapes.

Instance Methods
 
transform(self, matrix)
Get a transformed copy of the shape.

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

Properties
  bounding_box
The bounding box of the shape.
  area
The area of the shape.
  centroid
The mass center of the shape.

Inherited from object: __class__

Property Details

bounding_box

The bounding box of the shape.

Get Method:
unreachable.bounding_box(self) - The bounding box of the shape.

area

The area of the shape.

Get Method:
unreachable.area(self) - The area of the shape.

centroid

The mass center of the shape.

Get Method:
unreachable.centroid(self) - The mass center of the shape.