ThemeFontStyle(bpy_struct)

base class — bpy_struct

class bpy.types.ThemeFontStyle(bpy_struct)

Theme settings for Font

character_weight

Weight of the characters. 100-900, 400 is normal

Type:

int in [100, 900], default 400

points

Font size in points

Type:

float in [6, 32], default 0.0

shadow

Shadow size (0, 3 and 5 supported)

Type:

int in [0, 5], default 0

shadow_alpha
Type:

float in [0, 1], default 0.0

shadow_offset_x

Shadow offset in pixels

Type:

int in [-10, 10], default 0

shadow_offset_y

Shadow offset in pixels

Type:

int in [-10, 10], default 0

shadow_value

Shadow color in gray value

Type:

float in [0, 1], default 0.0

classmethod bl_rna_get_subclass(id, default=None)
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References