pyleecan.Methods.Geometry.SurfLine.get_patches module¶
- get_patches(self, color='w', edgecolor=None, is_edge_only=False, linestyle=None, hatch=None)[source]¶
Returns the PolarArc Patch to be display in matplotlib
- Parameters:
self (SurfLine) – a SurfLine object
color – the color of the patch (Default value = PATCH_COLOR)
edgecolor – the edge color of the patch (Default value = PATCH_EDGE)
is_edge_only (bool) – To set the transparancy of the face color to 0 and 1 for the edge color
linestyle (str) – Line style of the edge {‘-’, ‘–’, ‘-.’, ‘:’, ‘’, (offset, on-off-seq), …}
hatch (str) – Set the hatching pattern: {‘/’, ‘’, ‘|’, ‘-’, ‘+’, ‘x’, ‘o’, ‘O’, ‘.’, ‘*’}
- Returns:
patch_list – List of patches corresponding to the surface
- Return type:
list of matplotlib.patches.Polygon