vispy.visuals.collections.raw_polygon_collection module

class vispy.visuals.collections.raw_polygon_collection.RawPolygonCollection(user_dtype=None, transform=None, vertex=None, fragment=None, **kwargs)

Bases: vispy.visuals.collections.collection.Collection

append(points, **kwargs)

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)

Parameters
pointsnp.array

Vertices composing the triangles

colorlist, array or 4-tuple

Path color