SVGFEColorMatrixElementBuilder.TypeAndValues

SVGFEColorMatrixElementBuilder.TypeAndValues method

Sets the ’type’ and ‘values’ attributes of the feColorMatrix element, specifying the color matrix operation and its parameters.

public SVGFEColorMatrixElementBuilder TypeAndValues(ColorMatrixOperation type, 
    params double[] values)
ParameterTypeDescription
typeColorMatrixOperationThe ColorMatrixOperation enum value representing the type of color matrix operation.
valuesDouble[]The parameters for the color matrix operation.

Return Value

The current builder instance.

Exceptions

exceptioncondition
ArgumentExceptionThrown when the provided values do not match the requirements of the specified type.
NotSupportedExceptionThrown when an unsupported matrix operation type is provided.

See Also