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