Package javafx.scene.effect


package javafx.scene.effect

Provides the set of classes for attaching graphical filter effects to JavaFX Scene Graph Nodes.

An effect is a graphical algorithm that produces an image, typically as a modification of a source image. An effect can be associated with a scene graph Node by setting the effect attribute. Some effects change the color properties of the source pixels (such as ColorAdjust), others combine multiple images together (such as Blend), while still others warp or move the pixels of the source image around (such as DisplacementMap or PerspectiveTransform). All effects have at least one input defined and the input can be set to another effect to chain the effects together and combine their results, or it can be left unspecified in which case the effect will operate on a graphical rendering of the node it is attached to.

  • Class
    Description
    An effect that blends the two inputs together using one of the pre-defined BlendModes.
    A blending mode defines the manner in which the inputs of a Blend effect are composited together or how a Node is blended into the background of a scene.
    A high-level effect that makes brighter portions of the input image appear to glow, based on a configurable threshold.
    Represents the type of blur algorithm that is used to soften a Shadow effect.
    A blur effect using a simple box filter kernel, with separately configurable sizes in both dimensions, and an iteration parameter that controls the quality of the resulting blur.
    An effect that allows for per-pixel adjustments of hue, saturation, brightness, and contrast.
    An effect that renders a rectangular region that is filled ("flooded") with the given Paint.
    An effect that shifts each pixel by a distance specified by the first two bands of of the specified FloatMap.
    A high-level effect that renders a shadow of the given content behind the content with the specified color, radius, and offset.
    The abstract base class for all effect implementations.
    A buffer that contains floating point data, intended for use as a parameter to effects such as DisplacementMap.
    A blur effect using a Gaussian convolution kernel, with a configurable radius.
    A high-level effect that makes the input image appear to glow, based on a configurable threshold.
    A type of source effect that simply passes the given Image through, unmodified, as an input to another Effect.
    A high-level effect that renders a shadow inside the edges of the given content with the specified color, radius, and offset.
    The abstract base class for all light implementations.
    Represents a distant light source.
    Represents a light source at a given position in 3D space.
    Represents a spot light source at a given position in 3D space, with configurable direction and focus.
    An effect that simulates a light source shining on the given content, which can be used to give flat objects a more realistic, three-dimensional appearance.
    A motion blur effect using a Gaussian convolution kernel, with a configurable radius and angle.
    An effect that provides non-affine transformation of the input content.
    An effect that renders a reflected version of the input below the actual input content.
    A filter that produces a sepia tone effect, similar to antique photographs.
    An effect which creates a monochrome duplicate of an input with blurry edges.