R: Composite image layers together.

feMerge {gridSVG} | R 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

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

### See Also

`filterEffect`, `fe`.

[Package gridSVG version 1.6-0 Index]