CircleArtist
- class compas_plotters.artists.CircleArtist(item, **kwargs)[source]
Bases:
PlotterArtist
,PrimitiveArtist
Artist for COMPAS circles.
- Parameters
circle (
Circle
) – A COMPAS circle.linewidth (float, optional) – Width of the circle boundary.
linestyle ({‘solid’, ‘dotted’, ‘dashed’, ‘dashdot’}, optional) – Style of the circle boundary.
facecolor (tuple[float ,float, float], optional) – Color of the interior of the circle.
edgecolor (tuple[float, float, float], optional) – Color of the boundary of the circle.
fill (bool, optional) – If True, draw the interior of the circle.
alpha (float, optional) – Transparency of the circle.
zorder (int, optional) – Stacking order of the circle on the canvas.
**kwargs (dict, optional) – Additional keyword arguments. See
PlotterArtist
andPrimitiveArtist
for more info.
- Attributes
circle (
Circle
) – The circle associated with the artist.
Methods
Draw the circle on the plotter canvas.
Update the circle using the current geometry and visualization settings.
Inherited Methods
Build an artist corresponding to the item type.
Build an artist with the given type.
Clear all objects from the view.
Drawing method for drawing an entire collection of objects.
Register an artist type to a data type.
Update the data limits of the plotting axes using the visualization data.
Compute the bounds of the current view.