PointArtist
- class compas_plotters.artists.PointArtist(*args, **kwargs)[source]
Bases:
PlotterArtist
,PrimitiveArtist
Artist for COMPAS points.
- Parameters
point (
compas.geometry.Point
) – A COMPAS point.size (int, optional) – The size of the point.
facecolor (Color, optional) – Color of the interior of the point representing the point.
edgecolor (Color, optional) – Color of the boundary of the point representing the point.
zorder (int, optional) – Stacking order above the XY plane of the plotter canvas.
**kwargs (dict, optional) – Additional keyword arguments. See
PlotterArtist
orPrimitiveArtist
.
- Attributes
point (
compas.geometry.Point
) – The point associated with the artist.size (float) – Size of the point, relative to the resolution of the plotter.
size = self._size / self.plotter.dpi
.
Methods
Draw the circle.
Update the point 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.