S or /

SourceClass Fontstyle

from skia import Fontstyle
class Fontstyle:

Properties§

Source@property def slant(self, /) -> int§
Source@property def weight(self, /) -> int§
Source@property def width(self, /) -> int§

Methods§

Source@staticmethod def new(weight: int, width: int, slant: FontSlant |None = None) -> Fontstyle§