textlayout_StrutStyle

class textlayout_StrutStyle

Methods

__init__

setFontFamilies

setFontSize

setFontStyle

setForceStrutHeight

setHalfLeading

setHeight

setHeightOverride

setLeading

setStrutEnabled

Methods

textlayout_StrutStyle.__init__(self: skia.textlayout_StrutStyle) → None
textlayout_StrutStyle.setFontFamilies(self: skia.textlayout_StrutStyle, families: collections.abc.Sequence[skia.String]) → None
textlayout_StrutStyle.setFontSize(self: skia.textlayout_StrutStyle, size: SupportsFloat | SupportsIndex) → None
textlayout_StrutStyle.setFontStyle(self: skia.textlayout_StrutStyle, fontstyle: skia.FontStyle) → None
textlayout_StrutStyle.setForceStrutHeight(self: skia.textlayout_StrutStyle, forcestrutheight: bool) → None
textlayout_StrutStyle.setHalfLeading(self: skia.textlayout_StrutStyle, halfleading: bool) → None
textlayout_StrutStyle.setHeight(self: skia.textlayout_StrutStyle, height: SupportsFloat | SupportsIndex) → None
textlayout_StrutStyle.setHeightOverride(self: skia.textlayout_StrutStyle, heightoverride: bool) → None
textlayout_StrutStyle.setLeading(self: skia.textlayout_StrutStyle, leading: SupportsFloat | SupportsIndex) → None
textlayout_StrutStyle.setStrutEnabled(self: skia.textlayout_StrutStyle, strutenabled: bool) → None