public abstract class BooleanResource extends LayerResource
Class BooleanResource. It's pseudo resource. Photoshop haven't it
LayerResource
PsbResourceSignature, ResourceSignature
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Gets the layer resource length in bytes.
|
int |
getPsdVersion()
Gets the psd version.
|
int |
getSignature()
Gets the signature.
|
boolean |
getValue()
Gets or sets a value indicating whether value
BooleanResource is true or false |
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the specified stream container.
|
void |
setValue(boolean value)
Gets or sets a value indicating whether value
BooleanResource is true or false |
getKey, toString
public int getSignature()
Gets the signature.
getSignature
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 final boolean getValue()
Gets or sets a value indicating whether value BooleanResource
is true or false
true
if value is true; otherwise, false
.public final void setValue(boolean value)
Gets or sets a value indicating whether value BooleanResource
is true or false
true
if value is true; otherwise, false
.public void save(StreamContainer streamContainer, int psdVersion)
Saves the specified stream container.
save
in class LayerResource
streamContainer
- The stream container.psdVersion
- The PSD version.