Annotation¶
- class pywwt.annotation.Annotation(**kwargs: Any)[source]¶
Bases:
HasTraits
Base class for annotations which provides settings common to all shapes.
Attributes Summary
Specifies whether to render the label if the mouse is hovering over the annotation (
bool
)Contains descriptive text for the annotation (
str
)Specifies the opacity to be applied to the complete annotation (
int
)To be specified in the individual shape classes.
Contains a string for use by the web client (
str
)Methods Summary
remove
()Removes the specified annotation from the current view.
Attributes Documentation
- hover_label¶
Specifies whether to render the label if the mouse is hovering over the annotation (
bool
)
- shape = None¶
To be specified in the individual shape classes.
Methods Documentation