animator.skia.ColorInfo¶
- class animator.skia.ColorInfo¶
Bases:
pybind11_builtins.pybind11_object
- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: animator.skia.ColorInfo) -> None
__init__(self: animator.skia.ColorInfo, ct: animator.skia.ColorType, at: animator.skia.AlphaType, cs: animator.skia.ColorSpace = None) -> None
__init__(self: animator.skia.ColorInfo, arg0: animator.skia.ColorInfo) -> None
Methods
__init__
(*args, **kwargs)Overloaded function.
alphaType
(self)bytesPerPixel
(self)colorSpace
(self)colorType
(self)gammaCloseToSRGB
(self)isOpaque
(self)makeAlphaType
(self, newAlphaType)makeColorSpace
(self, cs)makeColorType
(self, newColorType)refColorSpace
(self)shiftPerPixel
(self)- alphaType(self: animator.skia.ColorInfo) animator.skia.AlphaType ¶
- bytesPerPixel(self: animator.skia.ColorInfo) int ¶
- colorSpace(self: animator.skia.ColorInfo) animator.skia.ColorSpace ¶
- colorType(self: animator.skia.ColorInfo) animator.skia.ColorType ¶
- gammaCloseToSRGB(self: animator.skia.ColorInfo) bool ¶
- isOpaque(self: animator.skia.ColorInfo) bool ¶
- makeAlphaType(self: animator.skia.ColorInfo, newAlphaType: animator.skia.AlphaType) animator.skia.ColorInfo ¶
- makeColorSpace(self: animator.skia.ColorInfo, cs: animator.skia.ColorSpace) animator.skia.ColorInfo ¶
- makeColorType(self: animator.skia.ColorInfo, newColorType: animator.skia.ColorType) animator.skia.ColorInfo ¶
- refColorSpace(self: animator.skia.ColorInfo) animator.skia.ColorSpace ¶
- shiftPerPixel(self: animator.skia.ColorInfo) int ¶