feDisplacementMap: Displace pixel values from a filter input.

Description Usage Arguments Details Value Author(s) References See Also

Description

This filter primitive uses the pixels values from the image from input2 to spatially displace the image from input1.

Usage

1
2
3
4
5
feDisplacementMap(input1 = NA, input2 = NA,
                  scale = 0,
                  xChannelSelector = c("A", "R", "G", "B"),
                  yChannelSelector = c("A", "R", "G", "B"),
                  ...)

Arguments

input1

Identifies an input for this filter primtive. See filterInputs.

input2

Identfies a second input for this filter primitive. See filterInputs.

scale

Displacement scale factor. The amount is expressed in the coordinate system established by attribute primitiveUnits on the parent filter container. When the value of scale is 0, this operation has no effect on the source image.

xChannelSelector

Indicates which channel from input2 to use to displace the pixels in input along the x-axis.

yChannelSelector

Indicates which channel from input2 to use to displace the pixels in input along the y-axis.

...

Further arguments to be passed onto fe.

Details

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

Value

An fe.displacement.map object.

Author(s)

Simon Potter

References

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

See Also

filterEffect, fe.


sachsmc/gridSVG documentation built on May 29, 2019, 12:44 p.m.