Class ImageInput
java.lang.Object
javafx.scene.effect.Effect
javafx.scene.effect.ImageInput
A type of source effect that simply passes the given 
Image
 through, unmodified, as an input to another Effect.- Since:
- JavaFX 2.0
- 
Property SummaryPropertiesTypePropertyDescriptionfinal ObjectProperty<Image> The sourceImage.final DoublePropertySets the x location of the source image, relative to the local coordinate space of the contentNode.final DoublePropertySets the y location of the source image, relative to the local coordinate space of the contentNode.
- 
Constructor SummaryConstructorsConstructorDescriptionCreates 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 SummaryModifier and TypeMethodDescriptionfinal ImageGets the value of thesourceproperty.final doublegetX()Gets the value of thexproperty.final doublegetY()Gets the value of theyproperty.final voidSets the value of thesourceproperty.final voidsetX(double value) Sets the value of thexproperty.final voidsetY(double value) Sets the value of theyproperty.final ObjectProperty<Image> The sourceImage.final DoublePropertySets the x location of the source image, relative to the local coordinate space of the contentNode.final DoublePropertySets the y location of the source image, relative to the local coordinate space of the contentNode.
- 
Property Details- 
source
- 
xSets 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:
 
- 
ySets 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:
 
 
- 
- 
Constructor Details- 
ImageInputpublic ImageInput()Creates a new instance of ImageInput with default parameters.
- 
ImageInputCreates a new instance of ImageInput with the specified source.- Parameters:
- source- the source- Image.
- Since:
- JavaFX 2.1
 
- 
ImageInputCreates 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 Details- 
setSourceSets the value of thesourceproperty.- Property description:
- The source Image.
- Parameters:
- value- the value for the- sourceproperty
- See Also:
 
- 
getSourceGets the value of thesourceproperty.- Property description:
- The source Image.
- Returns:
- the value of the sourceproperty
- See Also:
 
- 
sourcePropertyThe sourceImage.- Returns:
- the sourceproperty
- See Also:
 
- 
setXpublic final void setX(double value) Sets the value of thexproperty.- 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
- Parameters:
- value- the value for the- xproperty
- See Also:
 
- 
getXpublic final double getX()Gets the value of thexproperty.- 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
- Returns:
- the value of the xproperty
- See Also:
 
- 
xPropertySets 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
- Returns:
- the xproperty
- See Also:
 
- 
setYpublic final void setY(double value) Sets the value of theyproperty.- 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
- Parameters:
- value- the value for the- yproperty
- See Also:
 
- 
getYpublic final double getY()Gets the value of theyproperty.- 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
- Returns:
- the value of the yproperty
- See Also:
 
- 
yPropertySets 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
- Returns:
- the yproperty
- See Also:
 
 
-