mpl_poormans_3d.poormans_3d.Poormans3d

class mpl_poormans_3d.poormans_3d.Poormans3d(lightsource, displacement, displacement0=(0, 0), error=None, direction=1, fraction=0.5, refine_factor=10)

Methods

draw_path(renderer, gc, tpath, affine, rgbFace)

Derived should override this method.

__init__(lightsource, displacement, displacement0=(0, 0), error=None, direction=1, fraction=0.5, refine_factor=10)
Parameters:

offset ((float, float), default: (0, 0)) – The (x, y) offset to apply to the path, measured in points.

Methods

__init__(lightsource, displacement[, ...])

param offset:

The (x, y) offset to apply to the path, measured in points.

draw_path(renderer, gc, tpath, affine, rgbFace)

Derived should override this method.