org.apache.batik.ext.awt.image.renderable
public interface DisplacementMapRable extends FilterColorInterpolation
| Field Summary | |
|---|---|
| int | CHANNEL_A |
| int | CHANNEL_B |
| int | CHANNEL_G |
| int | CHANNEL_R |
| Method Summary | |
|---|---|
| double | getScale()
Returns the displacement scale factor |
| ARGBChannel | getXChannelSelector()
Returns the xChannelSelector |
| ARGBChannel | getYChannelSelector()
Returns the yChannelSelector |
| void | setScale(double scale)
The displacement scale factor |
| void | setSources(List srcs)
The sources to be used in the displacement operation
The source at index 0 is displacement by the channels
in source at index 1 defined by the xChannelSelector
and the yChannelSelector. |
| void | setXChannelSelector(ARGBChannel xChannelSelector)
Select which component values will be used
for displacement along the X axis |
| void | setYChannelSelector(ARGBChannel yChannelSelector)
Select which component values will be used
for displacement along the Y axis |
Parameters: scale can be any number.
Parameters: srcs The list of images used in the operation.
Parameters: xChannelSelector value is among R, G, B and A.
Parameters: yChannelSelector value is among R, G, B and A.