Basics
Guides
API Reference
Basics
Guides
API Reference
[12:7] extends: FxObj
Wraps JavaFX ColorAdjust, an effect that adjusts the hue, saturation, brightness, and contrast of a node's pixels. Each property accepts a value between -1.0 and 1.0, where 0.0 leaves that channel unchanged. Positive values increase the channel and negative values decrease it. Apply it to any node via the node's setEffect() method.
ColorAdjust ()
Creates a new ColorAdjust effect with all adjustments set to 0.0 (no change).
setHue (double H)
Sets the hue adjustment applied to each pixel.
H is a double in the range -1.0 to 1.0; 0.0 leaves hue unchanged.this objectsetSaturation (double S)
Sets the saturation adjustment applied to each pixel.
S is a double in the range -1.0 to 1.0; 0.0 leaves saturation unchanged.this objectsetBrightness (double B)
Sets the brightness adjustment applied to each pixel.
B is a double in the range -1.0 to 1.0; 0.0 leaves brightness unchanged.this objectsetContrast (double Contrast)
Sets the contrast adjustment applied to each pixel.
Contrast is a double in the range -1.0 to 1.0; 0.0 leaves contrast unchanged.this objectgetHue ()
Returns the current hue adjustment.
A double in the range -1.0 to 1.0.getSaturation ()
Returns the current saturation adjustment.
A double in the range -1.0 to 1.0.getBrightness ()
Returns the current brightness adjustment.
A double in the range -1.0 to 1.0.getContrast ()
Returns the current contrast adjustment.
A double in the range -1.0 to 1.0.hueProperty ()
Returns the property holding the hue adjustment.
A DoubleProperty AJO.saturationProperty ()
Returns the property holding the saturation adjustment.
A DoubleProperty AJO.brightnessProperty ()
Returns the property holding the brightness adjustment.
A DoubleProperty AJO.contrastProperty ()
Returns the property holding the contrast adjustment.
A DoubleProperty AJO.setInput (EffectObj)
Sets the upstream effect whose output this ColorAdjust processes.
EffectObj is an Effect wrapper or an AJO around a javafx.scene.effect.Effect.this object for chaininggetInput ()
Returns the upstream effect feeding this ColorAdjust.
An AJO around the Effect, or null when unset.inputProperty ()
Returns the property holding the upstream Effect.
An ObjectProperty AJO around the Effect.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.