tbapi.api.enums.font_weight

 1from enum import Enum
 2from Tickblaze.Scripts.Api.Enums import FontWeight as _FontWeight
 3
 4class FontWeight(Enum):
 5    """Specifies the weight of a font."""
 6
 7    Black = 0
 8    """Black font weight."""
 9
10    Bold = 1
11    """Bold font weight."""
12
13    DemiBold = 2
14    """DemiBold font weight."""
15
16    ExtraBlack = 3
17    """ExtraBlack font weight."""
18
19    ExtraBold = 4
20    """ExtraBold font weight."""
21
22    ExtraLight = 5
23    """ExtraLight font weight."""
24
25    Heavy = 6
26    """Heavy font weight."""
27
28    Light = 7
29    """Light font weight."""
30
31    Medium = 8
32    """Medium font weight."""
33
34    Normal = 9
35    """Normal font weight."""
36
37    Regular = 10
38    """Regular font weight."""
39
40    SemiBold = 11
41    """SemiBold font weight."""
42
43    Thin = 12
44    """Thin font weight."""
45
46    UltraBlack = 13
47    """UltraBlack font weight."""
48
49    UltraBold = 14
50    """UltraBold font weight."""
51
52    UltraLight = 15
53    """UltraLight font weight."""
class FontWeight(enum.Enum):
 7class FontWeight(Enum):
 8    """Specifies the weight of a font."""
 9
10    Black = 0
11    """Black font weight."""
12
13    Bold = 1
14    """Bold font weight."""
15
16    DemiBold = 2
17    """DemiBold font weight."""
18
19    ExtraBlack = 3
20    """ExtraBlack font weight."""
21
22    ExtraBold = 4
23    """ExtraBold font weight."""
24
25    ExtraLight = 5
26    """ExtraLight font weight."""
27
28    Heavy = 6
29    """Heavy font weight."""
30
31    Light = 7
32    """Light font weight."""
33
34    Medium = 8
35    """Medium font weight."""
36
37    Normal = 9
38    """Normal font weight."""
39
40    Regular = 10
41    """Regular font weight."""
42
43    SemiBold = 11
44    """SemiBold font weight."""
45
46    Thin = 12
47    """Thin font weight."""
48
49    UltraBlack = 13
50    """UltraBlack font weight."""
51
52    UltraBold = 14
53    """UltraBold font weight."""
54
55    UltraLight = 15
56    """UltraLight font weight."""

Specifies the weight of a font.

Black = <FontWeight.Black: 0>

Black font weight.

Bold = <FontWeight.Bold: 1>

Bold font weight.

DemiBold = <FontWeight.DemiBold: 2>

DemiBold font weight.

ExtraBlack = <FontWeight.ExtraBlack: 3>

ExtraBlack font weight.

ExtraBold = <FontWeight.ExtraBold: 4>

ExtraBold font weight.

ExtraLight = <FontWeight.ExtraLight: 5>

ExtraLight font weight.

Heavy = <FontWeight.Heavy: 6>

Heavy font weight.

Light = <FontWeight.Light: 7>

Light font weight.

Medium = <FontWeight.Medium: 8>

Medium font weight.

Normal = <FontWeight.Normal: 9>

Normal font weight.

Regular = <FontWeight.Regular: 10>

Regular font weight.

SemiBold = <FontWeight.SemiBold: 11>

SemiBold font weight.

Thin = <FontWeight.Thin: 12>

Thin font weight.

UltraBlack = <FontWeight.UltraBlack: 13>

UltraBlack font weight.

UltraBold = <FontWeight.UltraBold: 14>

UltraBold font weight.

UltraLight = <FontWeight.UltraLight: 15>

UltraLight font weight.