TextOverlay#
- class ansys.stk.core.graphics.TextOverlay#
Bases:
IScreenOverlay
,IOverlay
,IScreenOverlayContainer
A rectangular overlay that contains text.
Overview#
Set the Text to be rendered to an overlay. Newline characters (βnβ) will mark the start of the next line in the text. |
|
Get or set the textβs outline color. |
|
Get the graphics font used to style the text. |
Import detail#
from ansys.stk.core.graphics import TextOverlay
Property detail#
- property TextOverlay.text: str#
Set the Text to be rendered to an overlay. Newline characters (βnβ) will mark the start of the next line in the text.
- property TextOverlay.font: GraphicsFont#
Get the graphics font used to style the text.