public class ImageInput extends Effect
Image
through, unmodified, as an input to another Effect.| Type | Property and Description |
|---|---|
ObjectProperty<Image> |
source
The source
Image. |
DoubleProperty |
x
Sets the x location of the source image, relative to the
local coordinate space of the content
Node. |
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()
Gets the value of the property source.
|
double |
getX()
Gets the value of the property x.
|
double |
getY()
Gets the value of the property y.
|
void |
setSource(Image value)
Sets the value of the property source.
|
void |
setX(double value)
Sets the value of the property x.
|
void |
setY(double value)
Sets the value of the property y.
|
ObjectProperty<Image> |
sourceProperty()
The source
Image. |
DoubleProperty |
xProperty()
Sets the x location of the source image, relative to the
local coordinate space of the content
Node. |
DoubleProperty |
yProperty()
Sets the y location of the source image, relative to the
local coordinate space of the content
Node. |
public final ObjectProperty<Image> sourceProperty
Image.getSource(),
setSource(Image)public final DoubleProperty xProperty
Node.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
getX(),
setX(double)public final DoubleProperty yProperty
Node.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
getY(),
setY(double)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 imagepublic final void setSource(Image value)
Image.public final Image getSource()
Image.public final ObjectProperty<Image> sourceProperty()
Image.getSource(),
setSource(Image)public final void setX(double value)
Node.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
public final double getX()
Node.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
public final DoubleProperty xProperty()
Node.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
getX(),
setX(double)public final void setY(double value)
Node.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
public final double getY()
Node.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
public final DoubleProperty yProperty()
Node.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
getY(),
setY(double)Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.