Shaders

class Shaders

Methods

Blend

Overloaded function.

Color

Overloaded function.

Empty

Lerp

__init__

Methods

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

Overloaded function.

  1. Blend(mode: skia.BlendMode, dst: skia.Shader, src: skia.Shader) -> skia.Shader

  2. Blend(blender: SkBlender, dst: skia.Shader, src: skia.Shader) -> skia.Shader

static Shaders.Color(*args, **kwargs)

Overloaded function.

  1. Color(color: int) -> skia.Shader

  2. Color(color: skia.Color4f, cs: skia.ColorSpace = None) -> skia.Shader

static Shaders.Empty() skia.Shader
static Shaders.Lerp(t: float, dst: skia.Shader, src: skia.Shader) skia.Shader
Shaders.__init__(*args, **kwargs)