animator.skia.FontStyle¶
- class animator.skia.FontStyle¶
Bases:
pybind11_builtins.pybind11_object- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: animator.skia.FontStyle, weight: int = <Weight.kNormal_Weight: 400>, width: int = <Width.kNormal_Width: 5>, slant: animator.skia.FontStyle.Slant = <Slant.kUpright_Slant: 0>) -> None
__init__(self: animator.skia.FontStyle) -> None
Methods
Bold()Italic()Normal()__init__(*args, **kwargs)Overloaded function.
slant(self)weight(self)width(self)- static Bold() animator.skia.FontStyle¶
- static BoldItalic() animator.skia.FontStyle¶
- static Italic() animator.skia.FontStyle¶
- static Normal() animator.skia.FontStyle¶
- class Slant¶
Bases:
pybind11_builtins.pybind11_objectMembers:
kUpright_Slant
kItalic_Slant
kOblique_Slant
- property name¶
- class Weight¶
Bases:
pybind11_builtins.pybind11_objectMembers:
kInvisible_Weight
kThin_Weight
kExtraLight_Weight
kLight_Weight
kNormal_Weight
kMedium_Weight
kSemiBold_Weight
kBold_Weight
kExtraBold_Weight
kBlack_Weight
kExtraBlack_Weight
- property name¶
- class Width¶
Bases:
pybind11_builtins.pybind11_objectMembers:
kUltraCondensed_Width
kExtraCondensed_Width
kCondensed_Width
kSemiCondensed_Width
kNormal_Width
kSemiExpanded_Width
kExpanded_Width
kExtraExpanded_Width
kUltraExpanded_Width
- property name¶
- slant(self: animator.skia.FontStyle) animator.skia.FontStyle.Slant¶
- weight(self: animator.skia.FontStyle) int¶
- width(self: animator.skia.FontStyle) int¶