import { type SkColorFilterFactory } from "https://deno.land/x/canvas@v1.0.0/types.ts";
See SkColorFilter.h for more.
Methods
MakeBlend(color: InputColor, mode: BlendMode): SkColorFilter
Makes a color filter with the given color and blend mode.
MakeCompose(outer: SkColorFilter, inner: SkColorFilter): SkColorFilter
Makes a color filter composing two color filters.
MakeLerp(): SkColorFilter
Makes a color filter that is linearly interpolated between two other color filters.
MakeLinearToSRGBGamma(): SkColorFilter
Makes a color filter that converts between linear colors and sRGB colors.
MakeMatrix(cMatrix: InputColorMatrix): SkColorFilter
Creates a color filter using the provided color matrix.
MakeSRGBToLinearGamma(): SkColorFilter
Makes a color filter that converts between sRGB colors and linear colors.