LineStack¶

LineStack¶

Constructor¶

LineStack(data[, z_offset, thickness, ...])

Create a stack of LineGraphic that are separated along the "x" or "y" axis.

Properties¶

LineStack.children

Return the children of the WorldObject.

LineStack.cmap

LineStack.cmap_values

LineStack.graphics

The Graphics within this collection.

LineStack.name

str name reference for this item

LineStack.position

position of the graphic, [x, y, z]

LineStack.position_x

x-axis position of the graphic

LineStack.position_y

y-axis position of the graphic

LineStack.position_z

z-axis position of the graphic

LineStack.rotation

LineStack.visible

Access or change the visibility.

LineStack.world_object

Associated pygfx WorldObject.

Methods¶

LineStack.add_graphic(graphic, reset_index)

Add a graphic to the collection.

LineStack.add_linear_region_selector([padding])

Add a LinearRegionSelector

LineStack.add_linear_selector([selection, ...])

Adds a LinearSelector .

LineStack.link(event_type, target, feature, ...)

Link this graphic to another graphic upon an event_type to change the feature of a target graphic.

LineStack.remove_graphic(graphic, reset_index)

Remove a graphic from the collection.

LineStack.reset_feature(feature)

LineStack.rotate(alpha[, axis])

Rotate the Graphic with respect to the world.

LineStack.set_feature(feature, new_data, indices)