mpl.patheffects¶
Defines classes for path effects. The path effects are supported in
Text, Line2D
and Patch.
Classes¶
AbstractPathEffect([offset]) |
A base class for path effects. |
Normal([offset]) |
The “identity” PathEffect. |
PathEffectRenderer(path_effects, renderer) |
Implements a Renderer which contains another renderer. |
PathPatchEffect([offset]) |
Draws a PathPatch instance whose Path comes from the original PathEffect artist. |
RendererBase() |
An abstract base class to handle drawing/rendering operations. |
SimpleLineShadow([offset, shadow_color, ...]) |
A simple shadow via a line. |
SimplePatchShadow([offset, shadow_rgbFace, ...]) |
A simple shadow via a filled patch. |
Stroke([offset]) |
A line based PathEffect which re-draws a stroke. |
withSimplePatchShadow([offset, ...]) |
Adds a simple SimplePatchShadow and then draws the original Artist to avoid needing to call Normal. |
withStroke([offset]) |
Adds a simple Stroke and then draws the original Artist to avoid needing to call Normal. |