FontStyle
- class FontStyle
Classes
Members:
Members:
Members:
Methods
Overloaded function.
Attributes
Methods
- static FontStyle.Bold() skia.FontStyle
- static FontStyle.BoldItalic() skia.FontStyle
- static FontStyle.Italic() skia.FontStyle
- static FontStyle.Normal() skia.FontStyle
- FontStyle.__init__(*args, **kwargs)
Overloaded function.
__init__(self: skia.FontStyle, weight: int, width: int, slant: skia.FontStyle.Slant) -> None
__init__(self: skia.FontStyle) -> None
- FontStyle.slant(self: skia.FontStyle) skia.FontStyle.Slant
- FontStyle.weight(self: skia.FontStyle) int
- FontStyle.width(self: skia.FontStyle) int
Attributes
- FontStyle.kBlack_Weight = <Weight.kBlack_Weight: 900>
- FontStyle.kBold_Weight = <Weight.kBold_Weight: 700>
- FontStyle.kCondensed_Width = <Width.kCondensed_Width: 3>
- FontStyle.kExpanded_Width = <Width.kExpanded_Width: 7>
- FontStyle.kExtraBlack_Weight = <Weight.kExtraBlack_Weight: 1000>
- FontStyle.kExtraBold_Weight = <Weight.kExtraBold_Weight: 800>
- FontStyle.kExtraCondensed_Width = <Width.kExtraCondensed_Width: 2>
- FontStyle.kExtraExpanded_Width = <Width.kExtraExpanded_Width: 8>
- FontStyle.kExtraLight_Weight = <Weight.kExtraLight_Weight: 200>
- FontStyle.kInvisible_Weight = <Weight.kInvisible_Weight: 0>
- FontStyle.kItalic_Slant = <Slant.kItalic_Slant: 1>
- FontStyle.kLight_Weight = <Weight.kLight_Weight: 300>
- FontStyle.kMedium_Weight = <Weight.kMedium_Weight: 500>
- FontStyle.kNormal_Weight = <Weight.kNormal_Weight: 400>
- FontStyle.kNormal_Width = <Width.kNormal_Width: 5>
- FontStyle.kOblique_Slant = <Slant.kOblique_Slant: 2>
- FontStyle.kSemiBold_Weight = <Weight.kSemiBold_Weight: 600>
- FontStyle.kSemiCondensed_Width = <Width.kSemiCondensed_Width: 4>
- FontStyle.kSemiExpanded_Width = <Width.kSemiExpanded_Width: 6>
- FontStyle.kThin_Weight = <Weight.kThin_Weight: 100>
- FontStyle.kUltraCondensed_Width = <Width.kUltraCondensed_Width: 1>
- FontStyle.kUltraExpanded_Width = <Width.kUltraExpanded_Width: 9>
- FontStyle.kUpright_Slant = <Slant.kUpright_Slant: 0>