Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
"<feDisplacementMap>"

Uses the pixel values from a second input to spatially displace the first input image.

This element is defined within a "<filter>" element, and is combined with other filter primitives to define a filter applied on the input image.

Example usage:

<filter id="MyFilter">
<feTurbulence type="turbulence" baseFrequency="0.05" result="noise" />
<feDisplacementMap in="SourceGraphic" in2="noise" scale="20" />
</filter>

Source scale="20"

Attribute Default Description
scale 0 Maximum displacement in user units.
xChannelSelector A Channel (R, G, B, A) of in2 used for x displacement.
yChannelSelector A Channel (R, G, B, A) of in2 used for y displacement.

Inherits standard filter primitive attributes (in, in2, result, x, y, width, height) from donner::svg::SVGFilterPrimitiveStandardAttributes.