ThemeFontStyle(bpy_struct)

base class — bpy_struct

class bpy.types.ThemeFontStyle(bpy_struct)

Theme settings for Font

font_kerning_style

Which style to use for font kerning

  • UNFITTED Unfitted, Use scaled but un-grid-fitted kerning distances.

  • FITTED Fitted, Use scaled and grid-fitted kerning distances.

Type

enum in [‘UNFITTED’, ‘FITTED’], default ‘UNFITTED’

points
Type

int in [6, 48], default 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