Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: GaussianBlur

[11:7] extends: FxObj

Wraps JavaFX GaussianBlur, an effect that blurs a node using a true Gaussian convolution kernel. The radius property controls the standard deviation of the kernel; values range from 0 (no blur) to 63. Apply it to any node via the node's setEffect() method.

Methods

  • GaussianBlur ()

    Creates a new GaussianBlur effect with default settings.

  • setRadius (double R)

    Sets the radius (standard deviation) of the Gaussian blur kernel.

    • @p R is a double in the range 0 to 63; larger values produce stronger blur.
    • @r this object
  • getRadius ()

    Returns the current radius of the blur kernel.

    • @r A double with the radius.
  • radiusProperty ()

    Returns the DoubleProperty backing the radius value.

    • @r An AJO wrapping javafx.beans.property.DoubleProperty.
  • setInput (object Input)

    Sets the input effect that this GaussianBlur is chained to. When null the effect operates on the node directly.

    • @p Input is an Effect wrapper (e.g. Bloom, BoxBlur, etc.) or null.
    • @r this object
  • getInput ()

    Returns the input effect chained to this GaussianBlur.

    • @r An AJO wrapping javafx.scene.effect.Effect, or null if none is set.
  • inputProperty ()

    Returns the ObjectProperty backing the input effect reference.

    • @r An AJO wrapping javafx.beans.property.ObjectProperty.