Filter, FilterColorInterpolation, java.awt.image.renderable.RenderableImageDisplacementMapRable8Bitpublic interface DisplacementMapRable extends FilterColorInterpolation
| Modifier and Type | Field | Description |
|---|---|---|
static int |
CHANNEL_A |
|
static int |
CHANNEL_B |
|
static int |
CHANNEL_G |
|
static int |
CHANNEL_R |
| Modifier and Type | Method | Description |
|---|---|---|
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(java.util.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
|
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampgetOperationColorSpace, isColorSpaceLinear, setColorSpaceLinearstatic final int CHANNEL_R
static final int CHANNEL_G
static final int CHANNEL_B
static final int CHANNEL_A
void setSources(java.util.List srcs)
srcs - The list of images used in the operation.void setScale(double scale)
scale - can be any number.double getScale()
void setXChannelSelector(ARGBChannel xChannelSelector)
xChannelSelector - value is among R,
G, B and A.ARGBChannel getXChannelSelector()
void setYChannelSelector(ARGBChannel yChannelSelector)
yChannelSelector - value is among R,
G, B and A.ARGBChannel getYChannelSelector()
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.