vispy.scene.widgets.label module#
- class vispy.scene.widgets.label.Label(text, rotation=0.0, **kwargs)#
Bases:
Widget
Label widget
- Parameters:
- textstr
The label.
- rotationfloat
The rotation of the label.
- **kwargsdict
Keyword arguments to pass to TextVisual.
- on_resize(event)#
Resize event handler
- Parameters:
- eventinstance of Event
The event.
- property text#