ColorMatrix
A matrix to use in an RGBA color transformation.
Declaration
@frozen struct ColorMatrixOverview
The matrix has five columns, each with a red, green, blue, and alpha component. You can use the matrix for tasks like creating a color transformation GraphicsContext.Filter for a GraphicsContext using the colorMatrix(_:) method.