public abstract class PhflResource extends AdjustmentLayerResource
Class PhflResource. Resource of Exposure Adjustment Layer 2 Version ( = 3 ) or ( = 2 ) 12 4 bytes each for XYZ color(Only in Version 3) 10 2 bytes color space followed by 4 * 2 bytes color component(Only in Version 2) 4 Density 1 Preserve Luminosity
AdjustmentLayerResource
,
LayerResource
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_TOOL_KEY
The type tool info key.
|
PSB_RESOURCE_SIGNATURE, RESOURCE_SIGNATURE
Modifier and Type | Method and Description |
---|---|
int |
getDensity()
Gets the density.
|
int |
getKey()
Gets the layer resource key.
|
boolean |
getPreserveLuminosity()
Gets a value indicating whether [preserve luminosity].
|
int |
getPsdVersion()
Gets the psd version.
|
abstract Color |
getRgbColor()
Gets the color of the RGB.
|
abstract short |
getVersion()
Gets the version.
|
void |
setDensity(int value)
Sets the density.
|
void |
setPreserveLuminosity(boolean value)
Sets a value indicating whether [preserve luminosity].
|
abstract void |
setRgbColor(Color color)
Sets the RGB color.
|
getSignature, save
getLength, toString
public static final int TYPE_TOOL_KEY
The type tool info key.
public final int getDensity()
Gets the density.
public final void setDensity(int value)
Sets the density.
value
- the density.public final boolean getPreserveLuminosity()
Gets a value indicating whether [preserve luminosity].
public final void setPreserveLuminosity(boolean value)
Sets a value indicating whether [preserve luminosity].
value
- a value indicating whether [preserve luminosity].public abstract short getVersion()
Gets the version. Default is 2 or 3
public int getKey()
Gets the layer resource key.
getKey
in class LayerResource
public int getPsdVersion()
Gets the psd version.
getPsdVersion
in class LayerResource
public abstract Color getRgbColor()
Gets the color of the RGB.
public abstract void setRgbColor(Color color)
Sets the RGB color.
color
- The RGB color.