vispy.visuals.collections.raw_path_collection module

class vispy.visuals.collections.raw_path_collection.RawPathCollection(user_dtype=None, transform=None, vertex=None, fragment=None, **kwargs)[source]

Bases: vispy.visuals.collections.collection.Collection

append(P, closed=False, itemsize=None, **kwargs)[source]

Append a new set of vertices to the collection.

For kwargs argument, n is the number of vertices (local) or the number of item (shared)


Vertices positions of the path(s) to be added

closed: bool

Whether path(s) is/are closed

itemsize: int or None

Size of an individual path

colorlist, array or 4-tuple

Path color