public class ImageInput extends Effect
Image
through, unmodified, as an input to another Effect
.Effect.EffectInputChangeListener, Effect.EffectInputProperty
Modifier and Type | Field and Description |
---|---|
private Image |
oldImage |
private AbstractNotifyListener |
platformImageChangeListener |
private ObjectProperty<Image> |
source
The source
Image . |
private DoubleProperty |
x
Sets the x location of the source image, relative to the
local coordinate space of the content
Node . |
private DoubleProperty |
y
Sets the y location of the source image, relative to the
local coordinate space of the content
Node . |
Constructor and Description |
---|
ImageInput()
Creates a new instance of ImageInput with default parameters.
|
ImageInput(Image source)
Creates a new instance of ImageInput with the specified source.
|
ImageInput(Image source,
double x,
double y)
Creates a new instance of ImageInput with the specified source, x and y.
|
Modifier and Type | Method and Description |
---|---|
Image |
getSource() |
double |
getX() |
double |
getY() |
(package private) boolean |
impl_checkChainContains(Effect e) |
Effect |
impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
(package private) Identity |
impl_createImpl() |
BaseBounds |
impl_getBounds(BaseBounds bounds,
BaseTransform tx,
Node node,
BoundsAccessor boundsAccessor)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
(package private) void |
impl_update() |
void |
setSource(Image value) |
void |
setX(double value) |
void |
setY(double value) |
ObjectProperty<Image> |
sourceProperty() |
DoubleProperty |
xProperty() |
DoubleProperty |
yProperty() |
effectBoundsChanged, getInputBounds, getKernelSize, getShadowBounds, impl_containsCycles, impl_effectDirtyProperty, impl_getImpl, impl_isEffectDirty, impl_sync, markDirty, transformBounds
private ObjectProperty<Image> source
Image
.private final AbstractNotifyListener platformImageChangeListener
private Image oldImage
private DoubleProperty x
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
private DoubleProperty y
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
public ImageInput()
public ImageInput(Image source)
source
- the source Image
.public ImageInput(Image source, double x, double y)
source
- the source Image
.x
- the x location of the source imagey
- the y location of the source imageIdentity impl_createImpl()
impl_createImpl
in class Effect
public final void setSource(Image value)
public final Image getSource()
public final ObjectProperty<Image> sourceProperty()
public final void setX(double value)
public final double getX()
public final DoubleProperty xProperty()
public final void setY(double value)
public final double getY()
public final DoubleProperty yProperty()
void impl_update()
impl_update
in class Effect
boolean impl_checkChainContains(Effect e)
impl_checkChainContains
in class Effect
@Deprecated public BaseBounds impl_getBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor)
Effect
impl_getBounds
in class Effect