CornerAnnotation#
- class CornerAnnotation(*args, **kwargs)[source]#
Text annotation in four corners.
This is an annotation object that manages four text actors / mappers to provide annotation in the four corners of a viewport.
Examples#
Download Python source code | Download Jupyter notebook
Create text annotation in four corners.
>>> import pyvista as pv
>>> text = pv.CornerAnnotation(0, 'text')
>>> prop = text.prop
Attributes#
Font scaling factors. |
|
Property of this actor. |
Inherited Attributes#
Get or set the unique name identifier used by PyVista. |
Methods#
|
Get the text to be displayed for each corner. |
|
Set the text to be displayed for each corner. |