ColorFilters

class ColorFilters

Methods

Blend

Overloaded function.

Compose

HSLAMatrix

Overloaded function.

Lerp

LinearToSRGBGamma

Matrix

SRGBToLinearGamma

__init__

Methods

static ColorFilters.Blend(*args, **kwargs)

Overloaded function.

  1. Blend(c: skia.Color4f, colorspace: skia.ColorSpace, mode: skia.BlendMode) -> skia.ColorFilter

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