Scenario3dFont#

class ansys.stk.core.stkobjects.Scenario3dFont#

Font properties for Scenario 3D Graphics.

Overview#

is_font_available

Return whether the specified font is installed in the system.

name

Get or set the font name.

point_size

Font size in points.

bold

Specify whether the font is bold.

italic

Specify whether the font is italic.

available_fonts

Names of fonts installed in the system.

Import detail#

from ansys.stk.core.stkobjects import Scenario3dFont

Property detail#

property Scenario3dFont.name: str#

Get or set the font name.

property Scenario3dFont.point_size: Scenario3dPointSize#

Font size in points.

property Scenario3dFont.bold: bool#

Specify whether the font is bold.

property Scenario3dFont.italic: bool#

Specify whether the font is italic.

property Scenario3dFont.available_fonts: list#

Names of fonts installed in the system.

Method detail#

Scenario3dFont.is_font_available(self, name: str) bool#

Return whether the specified font is installed in the system.

Parameters:

name : str

Returns:

bool