- java.lang.Object
- 
- javafx.scene.effect.Effect
- 
- javafx.scene.effect.ImageInput
 
 
- 
 public class ImageInput extends Effect A type of source effect that simply passes the givenImagethrough, unmodified, as an input to anotherEffect.- Since:
- JavaFX 2.0
 
- 
- 
Property SummaryProperties Type Property Description ObjectProperty<Image>sourceThe sourceImage.DoublePropertyxSets the x location of the source image, relative to the local coordinate space of the contentNode.DoublePropertyySets the y location of the source image, relative to the local coordinate space of the contentNode.
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ImagegetSource()Gets the value of the property source.doublegetX()Gets the value of the property x.doublegetY()Gets the value of the property y.voidsetSource(Image value)Sets the value of the property source.voidsetX(double value)Sets the value of the property x.voidsetY(double value)Sets the value of the property y.ObjectProperty<Image>sourceProperty()The sourceImage.DoublePropertyxProperty()Sets the x location of the source image, relative to the local coordinate space of the contentNode.DoublePropertyyProperty()Sets the y location of the source image, relative to the local coordinate space of the contentNode.
 
- 
- 
- 
Property Detail- 
sourcepublic final ObjectProperty<Image> sourceProperty The sourceImage.- See Also:
- getSource(),- setSource(Image)
 
 - 
xpublic final DoubleProperty xProperty Sets the x location of the source image, relative to the local coordinate space of the contentNode.Min: n/a Max: n/a Default: 0.0 Identity: 0.0- Default value:
- 0.0
- See Also:
- getX(),- setX(double)
 
 - 
ypublic final DoubleProperty yProperty Sets the y location of the source image, relative to the local coordinate space of the contentNode.Min: n/a Max: n/a Default: 0.0 Identity: 0.0- Default value:
- 0.0
- See Also:
- getY(),- setY(double)
 
 
- 
 - 
Constructor Detail- 
ImageInputpublic ImageInput() Creates a new instance of ImageInput with default parameters.
 - 
ImageInputpublic ImageInput(Image source) Creates a new instance of ImageInput with the specified source.- Parameters:
- source- the source- Image.
- Since:
- JavaFX 2.1
 
 - 
ImageInputpublic ImageInput(Image source, double x, double y) Creates a new instance of ImageInput with the specified source, x and y.- Parameters:
- source- the source- Image.
- x- the x location of the source image
- y- the y location of the source image
- Since:
- JavaFX 2.1
 
 
- 
 - 
Method Detail- 
setSourcepublic final void setSource(Image value) Sets the value of the property source.- Property description:
- The source Image.
 
 - 
getSourcepublic final Image getSource() Gets the value of the property source.- Property description:
- The source Image.
 
 - 
sourcePropertypublic final ObjectProperty<Image> sourceProperty() The sourceImage.- See Also:
- getSource(),- setSource(Image)
 
 - 
setXpublic final void setX(double value) Sets the value of the property x.- Property description:
- Sets the x location of the source image, relative to the
 local coordinate space of the content Node.Min: n/a Max: n/a Default: 0.0 Identity: 0.0
- Default value:
- 0.0
 
 - 
getXpublic final double getX() Gets the value of the property x.- Property description:
- Sets the x location of the source image, relative to the
 local coordinate space of the content Node.Min: n/a Max: n/a Default: 0.0 Identity: 0.0
- Default value:
- 0.0
 
 - 
xPropertypublic final DoubleProperty xProperty() Sets the x location of the source image, relative to the local coordinate space of the contentNode.Min: n/a Max: n/a Default: 0.0 Identity: 0.0- Default value:
- 0.0
- See Also:
- getX(),- setX(double)
 
 - 
setYpublic final void setY(double value) Sets the value of the property y.- Property description:
- Sets the y location of the source image, relative to the
 local coordinate space of the content Node.Min: n/a Max: n/a Default: 0.0 Identity: 0.0
- Default value:
- 0.0
 
 - 
getYpublic final double getY() Gets the value of the property y.- Property description:
- Sets the y location of the source image, relative to the
 local coordinate space of the content Node.Min: n/a Max: n/a Default: 0.0 Identity: 0.0
- Default value:
- 0.0
 
 - 
yPropertypublic final DoubleProperty yProperty() Sets the y location of the source image, relative to the local coordinate space of the contentNode.Min: n/a Max: n/a Default: 0.0 Identity: 0.0- Default value:
- 0.0
- See Also:
- getY(),- setY(double)
 
 
- 
 
-