textlayout_TextStyle

class textlayout_TextStyle

Methods

__init__

cloneForPlaceholder

setColor

setDecoration

setDecorationColor

setDecorationMode

setDecorationStyle

setDecorationThicknessMultiplier

setFontFamilies

setFontSize

setFontStyle

setForegroundColor

DEPRECATED: prefer setForegroundPaint

setForegroundPaint

setLocale

Methods

textlayout_TextStyle.__init__(self: skia.textlayout_TextStyle) None
textlayout_TextStyle.cloneForPlaceholder(self: skia.textlayout_TextStyle) skia.textlayout_TextStyle
textlayout_TextStyle.setColor(self: skia.textlayout_TextStyle, color: int) None
textlayout_TextStyle.setDecoration(self: skia.textlayout_TextStyle, decoration: skia.textlayout_TextDecoration) None
textlayout_TextStyle.setDecorationColor(self: skia.textlayout_TextStyle, color: int) None
textlayout_TextStyle.setDecorationMode(self: skia.textlayout_TextStyle, mode: skia.textlayout_TextDecorationMode) None
textlayout_TextStyle.setDecorationStyle(self: skia.textlayout_TextStyle, style: skia.textlayout_TextDecorationStyle) None
textlayout_TextStyle.setDecorationThicknessMultiplier(self: skia.textlayout_TextStyle, m: float) None
textlayout_TextStyle.setFontFamilies(self: skia.textlayout_TextStyle, families: list[skia.String]) None
textlayout_TextStyle.setFontSize(self: skia.textlayout_TextStyle, size: float) None
textlayout_TextStyle.setFontStyle(self: skia.textlayout_TextStyle, fontStyle: skia.FontStyle) None
textlayout_TextStyle.setForegroundColor(self: skia.textlayout_TextStyle, paint: skia.Paint) None

DEPRECATED: prefer setForegroundPaint

textlayout_TextStyle.setForegroundPaint(self: skia.textlayout_TextStyle, paint: skia.Paint) None
textlayout_TextStyle.setLocale(self: skia.textlayout_TextStyle, locale: skia.String) None