type_and_values method

type_and_values

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

Returns

The current builder instance.

def type_and_values(self, type, values):
    ...
ParameterTypeDescription
typeColorMatrixOperationThe ColorMatrixOperation enum value representing the type of color matrix operation.
valueslistThe parameters for the color matrix operation.

Exceptions

ExceptionDescription
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