public final class GlobalLayerMaskInfo extends Object
The global layer mask section.
Constructor and Description |
---|
GlobalLayerMaskInfo() |
Modifier and Type | Method and Description |
---|---|
short |
getAlphaMask()
Gets or sets the alpha mask.
|
short |
getBlueMask()
Gets or sets the blue mask.
|
short |
getGreenMask()
Gets or sets the green mask.
|
byte |
getKind()
Gets or sets the kind.
|
int |
getLength()
Gets the global layer mask section length in bytes.
|
short |
getOpacity()
Gets or sets global layers opacity.
|
short |
getOverlayColorSpace()
Gets or sets the overlay color space (undocumented value).
|
short |
getRedMask()
Gets or sets the red mask.
|
void |
setAlphaMask(short value)
Gets or sets the alpha mask.
|
void |
setBlueMask(short value)
Gets or sets the blue mask.
|
void |
setGreenMask(short value)
Gets or sets the green mask.
|
void |
setKind(byte value)
Gets or sets the kind.
|
void |
setOpacity(short value)
Gets or sets global layers opacity.
|
void |
setOverlayColorSpace(short value)
Gets or sets the overlay color space (undocumented value).
|
void |
setRedMask(short value)
Gets or sets the red mask.
|
public int getLength()
Gets the global layer mask section length in bytes.
public short getOverlayColorSpace()
Gets or sets the overlay color space (undocumented value).
Value: The overlay color space.public void setOverlayColorSpace(short value)
Gets or sets the overlay color space (undocumented value).
Value: The overlay color space.public short getAlphaMask()
Gets or sets the alpha mask.
Value: The alpha mask.public void setAlphaMask(short value)
Gets or sets the alpha mask.
Value: The alpha mask.public short getRedMask()
Gets or sets the red mask.
Value: The red mask.public void setRedMask(short value)
Gets or sets the red mask.
Value: The red mask.public short getGreenMask()
Gets or sets the green mask.
Value: The green mask.public void setGreenMask(short value)
Gets or sets the green mask.
Value: The green mask.public short getBlueMask()
Gets or sets the blue mask.
Value: The blue mask.public void setBlueMask(short value)
Gets or sets the blue mask.
Value: The blue mask.public short getOpacity()
Gets or sets global layers opacity. 0 = transparent, 100 = opaque.
Value: The global layers opacity.public void setOpacity(short value)
Gets or sets global layers opacity. 0 = transparent, 100 = opaque.
Value: The global layers opacity.public byte getKind()
Gets or sets the kind. 0 = Color selected--i.e. inverted; 1 = Color protected; 128 = use value stored per layer. This value is preferred. The others are for backward compatibility with beta versions.
Value: The kind.public void setKind(byte value)
Gets or sets the kind. 0 = Color selected--i.e. inverted; 1 = Color protected; 128 = use value stored per layer. This value is preferred. The others are for backward compatibility with beta versions.
Value: The kind.