ColorFilters

class ColorFilters

Methods

Blend

Compose

HSLAMatrix

Overloaded function.

Lerp

LinearToSRGBGamma

Matrix

SRGBToLinearGamma

__init__

Methods

static ColorFilters.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.

  1. HSLAMatrix(rowMajor: List[float]) -> skia.ColorFilter

  2. 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)