Class AdjustmentNode
java.lang.Object
com.codename1.art.ArtNode
com.codename1.art.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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()A deep copy.The adjustment.double[]The bounds of this node's own content in its own space asx, y, w, h, without effects; null when it has none.voidsetAdjustment(Effect adjustment) Replaces the adjustment.Methods inherited from class ArtNode
copyBase, getBlendMode, getBounds, getClipPath, getEffects, getId, getMask, getName, getOpacity, getTransform, isKnockout, isLocked, isLuminanceMask, isVisible, setBlendMode, setClipPath, setId, setKnockout, setLocked, setMask, setName, setOpacity, setTransform, setVisible
-
Constructor Details
-
AdjustmentNode
Creates an adjustment layer.
Parameters
adjustment: the color effect to apply to the backdrop
-
-
Method Details
-
getAdjustment
The adjustment. -
setAdjustment
Replaces the adjustment.
Parameters
adjustment: the new effect
-
getLocalBounds
public double[] getLocalBounds()Description copied from class:ArtNodeThe bounds of this node's own content in its own space asx, y, w, h, without effects; null when it has none.- Specified by:
getLocalBoundsin classArtNode
-
copy
-