GraphicsFont#
- class ansys.stk.core.graphics.GraphicsFont#
A font that is suitable for use with the text batch primitive. For best performance, avoid creating duplicate font objects. Instead assign the same font object to several text batch primitives.
Overview#
Get the typeface name of the font. |
|
Get the size of the font. |
|
Get a value that indicates whether this font is bold. |
|
Get a value that indicates whether this font is italic. |
|
Get a value that indicates whether this font is underlined. |
|
Get a value that indicates whether this font has a horizontal line through its characters. |
|
Get a value that indicates whether this font has an outline around its characters. |
|
Get the font style enumeration that contains the style for this font. This does not include the outline property. |
|
Get a value that indicates whether this font is antialiased. |
Import detail#
from ansys.stk.core.graphics import GraphicsFont
Property detail#
- property GraphicsFont.strikeout: bool#
Get a value that indicates whether this font has a horizontal line through its characters.
- property GraphicsFont.outline: bool#
Get a value that indicates whether this font has an outline around its characters.