Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public class AdjustmentNode
An adjustment layer: changes the colors of everything painted below it in the same group,
as Photoshop’s levels, curves or hue/saturation layers do.
Constructors
public AdjustmentNode(Effect adjustment) | Creates an adjustment layer. |
Methods
public Effect getAdjustment() | The adjustment. |
public void setAdjustment(Effect adjustment) | Replaces the adjustment. |
public double[] getLocalBounds() | The bounds of this node’s own content in its own space as x, y, w, h, without effects; null when it has none. |
public ArtNode copy() | A deep copy. |
Inherited methods
Constructor details
AdjustmentNode
public AdjustmentNode(Effect adjustment)Creates an adjustment layer.
Parameters
adjustmentEffect- the color effect to apply to the backdrop
Method details
getAdjustment
public Effect getAdjustment()The adjustment.
setAdjustment
public void setAdjustment(Effect adjustment)Replaces the adjustment.
Parameters
adjustmentEffect- the new effect
getLocalBounds
public double[] getLocalBounds()The bounds of this node’s own content in its own space as
x, y, w, h, without
effects; null when it has none.copy
public ArtNode copy()A deep copy.