ColorMatrixOperation Enum

ColorMatrixOperation enumeration

Specifies the type of operation to be applied in a color matrix filter.

public enum ColorMatrixOperation

Values

NameValueDescription
Matrix0Applies a matrix transformation to the color data.
Saturate1Adjusts the saturation level of the image.
HueRotate2Applies a hue rotation on the image.
LuminanceToAlpha3Converts the colors of the image to grayscale based on their luminance.

Remarks

The color matrix filter in SVG allows for various operations on the color data of an image. Each operation type manipulates the colors in a specific way, offering a range of visual effects.

See Also