Artist

class compas.artists.Artist(*args, **kwargs)[source]

Bases: object

Base class for all artists.

Methods

build(item, **kwargs)

Build an artist corresponding to the item type.

build_as(item, artist_type, **kwargs)

clear()

draw()

draw_collection(collection)

get_artist_cls(data, **kwargs)

redraw()

register(item_type, artist_type)