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 |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature
Modifier and Type | Method and Description |
---|---|
int |
getDensity()
Gets or sets the density.
|
int |
getKey()
Gets the layer resource key.
|
boolean |
getPreserveLuminosity()
Gets or sets 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)
Gets or sets the density.
|
void |
setPreserveLuminosity(boolean value)
Gets or sets a value indicating whether [preserve luminosity].
|
abstract void |
setRgbColor(Color color)
Sets the RGB color.
|
abstract void |
setVersion(short value)
Gets the version.
|
getData, getSignature, save
getLength, toString
public static final int TypeToolKey
The type tool info key.
public final int getDensity()
Gets or sets the density.
Value: The density.public final void setDensity(int value)
Gets or sets the density.
Value: The density.public final boolean getPreserveLuminosity()
Gets or sets a value indicating whether [preserve luminosity].
Value:true
if [preserve luminosity]; otherwise, false
.public final void setPreserveLuminosity(boolean value)
Gets or sets a value indicating whether [preserve luminosity].
Value:true
if [preserve luminosity]; otherwise, false
.public abstract short getVersion()
Gets the version. Default is 2 or 3
Value: The version.public abstract void setVersion(short value)
Gets the version. Default is 2 or 3
Value: The version.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.