feMerge: Composite image layers together.

View source: R/filters.R

feMergeR Documentation

Composite image layers together.

Description

This filter primitive composites input image layers on top of each other using the "over" operator with "input1" (corresponding to the first child merge node) on the bottom and the last specified input, "inputN" (corresponding to the last child merge node), on top.

Usage

feMerge(mergeNodes = NULL, ...)
addMergeNode(fe, mergeNode, after = NA)
feMergeNode(input = NA)

Arguments

mergeNodes

A list of fe.merge.node objects, produced by feMergeNode.

...

Further arguments to be passed onto fe.

fe

An fe.merge object, created by feMerge.

mergeNode

An fe.merge.node object, created by feMerge.

after

The position to add mergeNode to in the list of fe's children. When NA, appends to the end of the list of children.

input

Identifies an input for this filter primtive. See filterInputs.

Details

If you wish to add more merge nodes after an fe.merge object has been created, use addMergeNode to add merge nodes to the filter primitive.

For more information about the feMerge primitive, consult the reference to the SVG specification.

Value

For feMerge, an fe.merge object.

For addMergeNode, an fe.merge object.

For feMergeNode, an fe.merge.node object.

Author(s)

Simon Potter

References

https://www.w3.org/TR/SVG/filters.html#feMergeElement

See Also

filterEffect, fe.


gridSVG documentation built on March 31, 2023, 11:17 p.m.