import { type ColorMatrixHelpers } from "https://deno.land/x/canvaseno@v1.0.2/mod.ts";
Methods
concat(outer: SkColorMatrix, inner: SkColorMatrix): SkColorMatrix
Returns a new SkColorMatrix that is the result of multiplying outer*inner
identity(): SkColorMatrix
Returns an identity SkColorMatrix.
postTranslate(): SkColorMatrix
Sets the 4 "special" params that will translate the colors after they are multiplied by the 4x4 matrix.
rotated(): SkColorMatrix
axis: number,
sine: number,
cosine: number,
Returns a new SkColorMatrix that is rotated around a given axis.
scaled(): SkColorMatrix
redScale: number,
greenScale: number,
blueScale: number,
alphaScale: number,
Returns a new SkColorMatrix that scales the colors as specified.