public class ImageInput extends Effect
Image
through, unmodified, as an input to another Effect
.Type | Property and Description |
---|---|
<any> |
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 . |
Effect.EffectInputChangeListener, Effect.EffectInputProperty
Modifier and Type | Field and Description |
---|---|
private Image |
oldImage |
private AbstractNotifyListener |
platformImageChangeListener |
private <any> |
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 |
---|---|
(package private) boolean |
checkChainContains(Effect e) |
(package private) Effect |
copy() |
(package private) com.sun.scenario.effect.Identity |
createPeer() |
(package private) BaseBounds |
getBounds(BaseBounds bounds,
BaseTransform tx,
Node node,
BoundsAccessor boundsAccessor)
Returns bounds of given node with applied effect.
|
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.
|
<any> |
sourceProperty()
The source
Image . |
(package private) void |
update() |
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 . |
containsCycles, effectBoundsChanged, getInputBounds, getKernelSize, getPeer, getShadowBounds, markDirty, sync, transformBounds
public final <any> 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)
private <any> 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 imagecom.sun.scenario.effect.Identity createPeer()
createPeer
in class Effect
public final void setSource(Image value)
public final Image getSource()
public final <any> sourceProperty()
Image
.getSource()
,
setSource(Image)
public final void setX(double value)
public final double getX()
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)
public final double getY()
public final DoubleProperty yProperty()
Node
.
Min: n/a Max: n/a Default: 0.0 Identity: 0.0
getY()
,
setY(double)
boolean checkChainContains(Effect e)
checkChainContains
in class Effect
BaseBounds getBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor)
Effect