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. (in [100, 900], default 400)
- Type:
int
- points
Font size in points (in [6, 32], default 0.0)
- Type:
float
- shadow
Shadow type (0 none, 3, 5 blur, 6 outline) (in [0, 6], default 0)
- Type:
int
- shadow_alpha
(in [0, 1], default 0.0)
- Type:
float
- shadow_offset_x
Shadow offset in pixels (in [-10, 10], default 0)
- Type:
int
- shadow_offset_y
Shadow offset in pixels (in [-10, 10], default 0)
- Type:
int
- shadow_value
Shadow color in gray value (in [0, 1], default 0.0)
- Type:
float
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type