Package-level declarations

Types

Link copied to clipboard

Properties

Link copied to clipboard
val invert: Matrix55

A lazily initialized 5x5 matrix (Matrix55) representing a transformation matrix. The matrix is configured with specific coefficient values to perform an inversion transformation.

Functions

Link copied to clipboard
fun colorMatrix(builder: ColorMatrixBuilder.() -> Unit): Matrix55

Constructs a 5x5 color transformation matrix using the specified transformations defined within a ColorMatrixBuilder DSL.

Link copied to clipboard
fun constant(color: ColorRGBa, ignoreAlpha: Boolean = true): Matrix55

Creates a 5x5 matrix based on the given color values.

Link copied to clipboard
fun grayscale(r: Double = 0.33, g: Double = 0.33, b: Double = 0.33): Matrix55

Creates a grayscale transformation matrix with the specified red, green, and blue coefficients.

Link copied to clipboard
fun tint(color: ColorRGBa): Matrix55

Applies a color tint transformation and returns a 5x5 matrix representing the transformation.