Javatpoint Logo
Javatpoint Logo

JavaFX ImageInput

This effect is mainly used to pass the unmodified image as an input for the other effects. The class javafx.scene.effect.ImageInput represents ImageInput effect. This class contains various properties which can be set to a certain value in order to render an appropriate image.

Properties

The properties of the class along with their setter methods are described in the following table.

Property Description Setter Methods
source URL of the source image. setSource(Image image)
X The X coordinate of the image setX(Double value)
Y The Y coordinate of the image setY(Double value)

Constructors

The class contains three constructors described below.

  1. ImageInput() : Instantiate ImageInput class with default parameters.
  2. ImageInput(Image source) : Instantiate ImageInput with the specified image source.
  3. ImageInput(Image source, Double X, Double Y) : Instantiate ImageInput with the default image source and specified coordinates

Example:


JavaFX ImageInput Effect



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA