feComposite | R Documentation |
This filter performs the combination of the two input images pixel-wise in image space using one of the Porter-Duff compositing operations.
The arithmetic operation is useful for combining the output from the
feDiffuseLighting
and feSpecularLighting
filter effects with texture data. It is also useful for implementing
dissolve.
feComposite(input1 = NA, input2 = NA,
operator = c("over", "in", "out", "atop",
"xor", "arithmetic"),
k1 = 0, k2 = 0, k3 = 0, k4 = 0, ...)
input1 |
Identifies an input for this filter primtive. See
|
input2 |
Identfies a second input for this filter primitive. See
|
operator |
The compositing operation that is to be performed. All of the
|
k1 |
A numeric value. Only applicable if |
k2 |
A numeric value. Only applicable if |
k3 |
A numeric value. Only applicable if |
k4 |
A numeric value. Only applicable if |
... |
Further arguments to be passed onto |
For more information about this primitive, consult the reference to the SVG specification.
An fe.composite
object.
Simon Potter
https://www.w3.org/TR/SVG/filters.html#feCompositeElement
Compositing Digital Images, T. Porter and T. Duff. SIGGRAPH '84 Conference Proceedings, Association for Computing Machinery, Volume 18, Number 3, July 1984.
filterEffect
, fe
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.