VertexColors#

VertexColors#

Constructor#

VertexColors(colors, n_colors[, alpha, ...])

Manages the vertex color buffer for LineGraphic or ScatterGraphic

Properties#

VertexColors.buffer

managed buffer

VertexColors.shared

Number of graphics that share this buffer

VertexColors.value

numpy array object representing the data managed by this buffer

Methods#

VertexColors.add_event_handler(handler)

Add an event handler.

VertexColors.block_events(val)

Block all events from this feature

VertexColors.clear_event_handlers()

Clear all event handlers

VertexColors.remove_event_handler(handler)

Remove a registered event handler.

VertexColors.set_value(graphic, value)

Sets values on entire array