| Modifier and Type | Field and Description |
|---|---|
| private float | |
| private float | |
| private float | |
| private float |
| Access | Constructor and Description |
|---|---|
| public | ColorAdjust()
Constructs a new |
| public | ColorAdjust(Effect
the single input input)EffectConstructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public float | |
| public float | |
| public final Effect | |
| public RenderState | getRenderState(FilterContext fctx, BaseTransform transform, Rectangle outputClip, Object renderHelper, Effect defaultInput)
Implements abstract com. Returns the object representing the rendering strategy and state for the filter operation characterized by the specified arguments. |
| public float | |
| public boolean | reducesOpaquePixels()
Implements abstract com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| brightness | back to summary |
|---|---|
| private float brightness | |
| contrast | back to summary |
|---|---|
| private float contrast | |
| hue | back to summary |
|---|---|
| private float hue | |
| saturation | back to summary |
|---|---|
| private float saturation | |
| ColorAdjust | back to summary |
|---|---|
| public ColorAdjust() Constructs a new
new ColorAdjust(DefaultInput)
| |
| ColorAdjust | back to summary |
|---|---|
| public ColorAdjust(Effect input) Constructs a new
| |
| getBrightness | back to summary |
|---|---|
| public float getBrightness() Returns the brightness adjustment.
| |
| getContrast | back to summary |
|---|---|
| public float getContrast() Returns the contrast adjustment.
| |
| getHue | back to summary |
|---|---|
| public float getHue() Returns the hue adjustment.
| |
| getInput | back to summary |
|---|---|
| public final Effect getInput() Returns the input for this
| |
| getRenderState | back to summary |
|---|---|
| public RenderState getRenderState(FilterContext fctx, BaseTransform transform, Rectangle outputClip, Object renderHelper, Effect defaultInput) Implements abstract com. Doc from com. Returns the object representing the rendering strategy and state for
the filter operation characterized by the specified arguments.
This call can also be used to get a state object for non-rendering
cases like querying the bounds of an operation in which case the
| |
| getSaturation | back to summary |
|---|---|
| public float getSaturation() Returns the saturation adjustment.
| |
| reducesOpaquePixels | back to summary |
|---|---|
| public boolean reducesOpaquePixels() Implements abstract com. Doc from com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. It is always safe to return true from this method, though the consequences may be that the caller chooses to not utilize a planned optimization.
| |
| setBrightness | back to summary |
|---|---|
| public void setBrightness(float brightness) Sets the brightness adjustment.
Min: -1.0
Max: +1.0
Default: 0.0
Identity: 0.0
| |
| setContrast | back to summary |
|---|---|
| public void setContrast(float contrast) Sets the contrast adjustment.
Min: -1.0
Max: +1.0
Default: 0.0
Identity: 0.0
| |
| setHue | back to summary |
|---|---|
| public void setHue(float hue) Sets the hue adjustment.
Min: -1.0
Max: +1.0
Default: 0.0
Identity: 0.0
| |
| setInput | back to summary |
|---|---|
| public void setInput(Effect input) Sets the input for this
| |
| setSaturation | back to summary |
|---|---|
| public void setSaturation(float saturation) Sets the saturation adjustment.
Min: -1.0
Max: +1.0
Default: 0.0
Identity: 0.0
| |