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, ...)
filterInputs
.
filterInputs
.
operator
types except "arithmetic"
match the
corresponding operation as described in the referenced Porter-Duff
text. The arithmetic operator is described in the referenced SVG
specification.
operator
is
"arithmetic"
.
operator
is
"arithmetic"
.
operator
is
"arithmetic"
.
operator
is
"arithmetic"
.
fe
.
fe.composite
object.
Compositing Digital Images, T. Porter and T. Duff. SIGGRAPH '84 Conference Proceedings, Association for Computing Machinery, Volume 18, Number 3, July 1984.
filterEffect
, fe
.