beziers.path package

Module contents

class beziers.path.BezierPath

Bases: object

addExtremes()

Add extreme points to the path.

asMatplot()
asNodelist()

Return the path as an array of Node objects.

asSegments()

Return the path as an array of segments (either Line, CubicBezier, or, if you are exceptionally unlucky, QuadraticBezier objects).

bounds()

Determine the bounding box of the path, returned as two Point objects representing the lower left and upper right corners.

fromSegments()
plot(ax)

Plot the path on a Matplot subplot which you supply.