Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Generated Object

javafx.scene.effect.ImageInput

Attributes

This node takes the attributes of the javafx.scene.effect.ImageInput class, see javafx.scene.effect.ImageInput.

Content

An image which is set to the ImageInput's source property.

Usage

Creates a ImageInput effect applied to a JavaFX Node.

Examples

Code Block
GroovyFX.start({
def sg = new SceneGraphBuilder(it);

sg.stage(
    title: "Blend Effect Example",
    x: 100, y: 100, width: 400, height:400,
    visible: true,
    style: "decorated",
) {

    scene(fill: hsb(128, 0.5, 0.5, 0.5) ) {
        rectangle(x: 10, y: 140, width: 100, height: 50 fill: red ) {
            imageInput(x: 10, y: 140) {
                image{"file://PIA01320_hires.jpg", width: 100, height: 50)
            }
        }
    }
}

});