colorMatrix

fun colorMatrix(builder: ColorMatrixBuilder.() -> Unit): Matrix55(source)

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

Return

A Matrix55 instance representing the resulting color transformation matrix after applying all specified operations in the builder.

Parameters

builder

A lambda function with a receiver of type ColorMatrixBuilder used to define the series of color matrix transformations to apply.