public class BlncResource extends AdjustmentLayerResource
BlncResource class is a resource of Color Adjustment Layer.
AdjustmentLayerResource
,
LayerResource
Modifier and Type | Field and Description |
---|---|
static int |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature
Constructor and Description |
---|
BlncResource()
Initializes a new instance of the
BlncResource class. |
Modifier and Type | Method and Description |
---|---|
short |
getHighlightsCyanRedBalance()
Gets or sets the Highlights Cyan Red Balance.
|
short |
getHighlightsMagentaGreenBalance()
Gets or sets the Highlights Magenta Green Balance.
|
short |
getHighlightsYellowBlueBalance()
Gets or sets the Highlights Yellow Blue Balance.
|
int |
getKey()
Gets the layer resource key.
|
int |
getLength()
Gets the layer resource length in bytes.
|
short |
getMidtonesCyanRedBalance()
Gets or sets the Midtones Cyan Red Balance.
|
short |
getMidtonesMagentaGreenBalance()
Gets or sets the Midtones Magenta Green Balance.
|
short |
getMidtonesYellowBlueBalance()
Gets or sets the Midtones Yellow Blue Balance.
|
boolean |
getPreserveLuminosity()
Gets or sets a value indicating whether this
BlncResource preserves luminosity. |
int |
getPsdVersion()
Gets the PSD version.
|
short |
getShadowsCyanRedBalance()
Gets or sets the Shadows Cyan Red Balance.
|
short |
getShadowsMagentaGreenBalance()
Gets or sets the Shadows Magenta Green Balance.
|
short |
getShadowsYellowBlueBalance()
Gets or sets the Shadows Yellow Blue Balance.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the resource to the specified stream container.
|
void |
setHighlightsCyanRedBalance(short value)
Gets or sets the Highlights Cyan Red Balance.
|
void |
setHighlightsMagentaGreenBalance(short value)
Gets or sets the Highlights Magenta Green Balance.
|
void |
setHighlightsYellowBlueBalance(short value)
Gets or sets the Highlights Yellow Blue Balance.
|
void |
setMidtonesCyanRedBalance(short value)
Gets or sets the Midtones Cyan Red Balance.
|
void |
setMidtonesMagentaGreenBalance(short value)
Gets or sets the Midtones Magenta Green Balance.
|
void |
setMidtonesYellowBlueBalance(short value)
Gets or sets the Midtones Yellow Blue Balance.
|
void |
setPreserveLuminosity(boolean value)
Gets or sets a value indicating whether this
BlncResource preserves luminosity. |
void |
setShadowsCyanRedBalance(short value)
Gets or sets the Shadows Cyan Red Balance.
|
void |
setShadowsMagentaGreenBalance(short value)
Gets or sets the Shadows Magenta Green Balance.
|
void |
setShadowsYellowBlueBalance(short value)
Gets or sets the Shadows Yellow Blue Balance.
|
getData, getSignature
toString
public static final int TypeToolKey
The type tool info key.
public BlncResource()
Initializes a new instance of the BlncResource
class.
public final boolean getPreserveLuminosity()
Gets or sets a value indicating whether this BlncResource
preserves luminosity.
true
if it preserves luminosity; otherwise, false
.public final void setPreserveLuminosity(boolean value)
Gets or sets a value indicating whether this BlncResource
preserves luminosity.
true
if it preserves luminosity; otherwise, false
.public final short getShadowsCyanRedBalance()
Gets or sets the Shadows Cyan Red Balance.
Value: The Shadows Cyan Red Balance.public final void setShadowsCyanRedBalance(short value)
Gets or sets the Shadows Cyan Red Balance.
Value: The Shadows Cyan Red Balance.public final short getShadowsMagentaGreenBalance()
Gets or sets the Shadows Magenta Green Balance.
Value: The Shadows Magenta Green Balance.public final void setShadowsMagentaGreenBalance(short value)
Gets or sets the Shadows Magenta Green Balance.
Value: The Shadows Magenta Green Balance.public final short getShadowsYellowBlueBalance()
Gets or sets the Shadows Yellow Blue Balance.
Value: The Shadows Yellow Blue Balance.public final void setShadowsYellowBlueBalance(short value)
Gets or sets the Shadows Yellow Blue Balance.
Value: The Shadows Yellow Blue Balance.public final short getMidtonesCyanRedBalance()
Gets or sets the Midtones Cyan Red Balance.
Value: The Midtones Cyan Red Balance.public final void setMidtonesCyanRedBalance(short value)
Gets or sets the Midtones Cyan Red Balance.
Value: The Midtones Cyan Red Balance.public final short getMidtonesMagentaGreenBalance()
Gets or sets the Midtones Magenta Green Balance.
Value: The Midtones Magenta Green Balance.public final void setMidtonesMagentaGreenBalance(short value)
Gets or sets the Midtones Magenta Green Balance.
Value: The Midtones Magenta Green Balance.public final short getMidtonesYellowBlueBalance()
Gets or sets the Midtones Yellow Blue Balance.
Value: The Midtones Yellow Blue Balance.public final void setMidtonesYellowBlueBalance(short value)
Gets or sets the Midtones Yellow Blue Balance.
Value: The Midtones Yellow Blue Balance.public final short getHighlightsCyanRedBalance()
Gets or sets the Highlights Cyan Red Balance.
Value: The Highlights Cyan Red Balance.public final void setHighlightsCyanRedBalance(short value)
Gets or sets the Highlights Cyan Red Balance.
Value: The Highlights Cyan Red Balance.public final short getHighlightsMagentaGreenBalance()
Gets or sets the Highlights Magenta Green Balance.
Value: The Highlights Magenta Green Balance.public final void setHighlightsMagentaGreenBalance(short value)
Gets or sets the Highlights Magenta Green Balance.
Value: The Highlights Magenta Green Balance.public final short getHighlightsYellowBlueBalance()
Gets or sets the Highlights Yellow Blue Balance.
Value: The Highlights Yellow Blue Balance.public final void setHighlightsYellowBlueBalance(short value)
Gets or sets the Highlights Yellow Blue Balance.
Value: The Highlights Yellow Blue Balance.public int getKey()
Gets the layer resource key.
getKey
in class LayerResource
public int getLength()
Gets the layer resource length in bytes.
getLength
in class LayerResource
public int getPsdVersion()
Gets the PSD version.
getPsdVersion
in class LayerResource
public void save(StreamContainer streamContainer, int psdVersion)
Saves the resource to the specified stream container.
save
in class AdjustmentLayerResource
streamContainer
- The stream container to save to.psdVersion
- The PSD version.