PolygonSelector¶

PolygonSelector¶

Constructor¶

PolygonSelector([edge_color, edge_width, ...])

param name:

name this graphic to use it as a key to access from the plot

Properties¶

PolygonSelector.children

Return the children of the WorldObject.

PolygonSelector.name

str name reference for this item

PolygonSelector.position

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

PolygonSelector.position_x

x-axis position of the graphic

PolygonSelector.position_y

y-axis position of the graphic

PolygonSelector.position_z

z-axis position of the graphic

PolygonSelector.rotation

PolygonSelector.visible

Access or change the visibility.

PolygonSelector.world_object

Associated pygfx WorldObject.

Methods¶

PolygonSelector.get_selected_data()

Not implemented for this selector

PolygonSelector.get_selected_index()

Not implemented for this selector

PolygonSelector.get_selected_indices()

Not implemented for this selector

PolygonSelector.get_vertices()

Get the vertices for the polygon

PolygonSelector.rotate(alpha[, axis])

Rotate the Graphic with respect to the world.