ColorFilters
- class ColorFilters
Methods
Overloaded function.
Overloaded function.
Methods
- static ColorFilters.Blend(*args, **kwargs)
Overloaded function.
Blend(c: skia.Color4f, colorspace: skia.ColorSpace, mode: skia.BlendMode) -> skia.ColorFilter
Blend(c: int, mode: skia.BlendMode) -> skia.ColorFilter
- static ColorFilters.Compose(outer: skia.ColorFilter, inner: skia.ColorFilter) skia.ColorFilter
- static ColorFilters.HSLAMatrix(*args, **kwargs)
Overloaded function.
HSLAMatrix(rowMajor: list[float]) -> skia.ColorFilter
HSLAMatrix(colorMatrix: skia.ColorMatrix) -> skia.ColorFilter
A version of Matrix which operates in HSLA space instead of RGBA. i.e.
HSLA-to-RGBA(Matrix(RGBA-to-HSLA(input)))
.
- static ColorFilters.Lerp(t: float, dst: skia.ColorFilter, src: skia.ColorFilter) skia.ColorFilter
- static ColorFilters.LinearToSRGBGamma() skia.ColorFilter
- static ColorFilters.Matrix(rowMajor: list[float]) skia.ColorFilter
- static ColorFilters.SRGBToLinearGamma() skia.ColorFilter
- ColorFilters.__init__(*args, **kwargs)