feColorMatrix {gridSVG} | R Documentation |
Apply a matrix transformation on colour values.
Description
This filter applies a matrix transformation on the RGBA colour and alpha values of every pixel on the input graphics to produce a result with a new set of RGBA colour and alpha values.
Usage
feColorMatrix(input = NA,
type = c("matrix", "saturate",
"hueRotate", "luminanceToAlpha"),
values = NULL, ...)
Arguments
input |
Identifies an input for this filter primtive. See
|
type |
Indicates the type of matrix operation. The keyword |
values |
The contents of
|
... |
Further arguments to be passed onto |
Details
For more information about this primitive, consult the reference to the SVG specification.
Value
An fe.color.matrix
object.
Author(s)
Simon Potter
References
https://www.w3.org/TR/SVG/filters.html#feColorMatrixElement