Top Description Classes Enums
module javafx.graphics

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 javafx.scene.effect.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 Summary

Modifier and TypeClass and Description
public class
Blend

An effect that blends the two inputs together using one of the pre-defined BlendModes.

public class
Bloom

A high-level effect that makes brighter portions of the input image appear to glow, based on a configurable threshold.

public class
BoxBlur

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.

public class
ColorAdjust

An effect that allows for per-pixel adjustments of hue, saturation, brightness, and contrast.

public class
ColorInput

An effect that renders a rectangular region that is filled ("flooded") with the given Paint.

public class
DisplacementMap

An effect that shifts each pixel by a distance specified by the first two bands of of the specified FloatMap.

public class
DropShadow

A high-level effect that renders a shadow of the given content behind the content with the specified color, radius, and offset.

public abstract class
Effect

The abstract base class for all effect implementations.

pack-priv abstract class
public class
FloatMap

A buffer that contains floating point data, intended for use as a parameter to effects such as DisplacementMap.

public class
GaussianBlur

A blur effect using a Gaussian convolution kernel, with a configurable radius.

public class
Glow

A high-level effect that makes the input image appear to glow, based on a configurable threshold.

public class
ImageInput

A type of source effect that simply passes the given Image through, unmodified, as an input to another Effect.

public class
InnerShadow

A high-level effect that renders a shadow inside the edges of the given content with the specified color, radius, and offset.

public abstract class
Light

The abstract base class for all light implementations.

public class
Lighting

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.

public class
MotionBlur

A motion blur effect using a Gaussian convolution kernel, with a configurable radius and angle.

public class
PerspectiveTransform

An effect that provides non-affine transformation of the input content.

public class
Reflection

An effect that renders a reflected version of the input below the actual input content.

public class
SepiaTone

A filter that produces a sepia tone effect, similar to antique photographs.

public class
Shadow

An effect which creates a monochrome duplicate of an input with blurry edges.

Enum Summary

Modifier and TypeEnum and Description
public enum
BlendMode

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.

public enum
BlurType

Represents the type of blur algorithm that is used to soften a Shadow effect.