public class SoCoResource extends FillLayerResource
Class SoCoResource. This resource contains information about Color Fill Layers
LayerResource
Modifier and Type | Field and Description |
---|---|
static int |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature
Constructor and Description |
---|
SoCoResource()
Initializes a new instance of the
SoCoResource class. |
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Gets the RGB color .
|
int |
getKey()
Gets the layer resource key.
|
int |
getLength()
Gets the layer resource length in bytes.
|
int |
getPsdVersion()
Gets the minimal psd version required for layer resource.
|
int |
getSignature()
Gets the layer resource signature.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the resource to the specified stream container.
|
void |
setColor(Color value)
Gets the RGB color .
|
toString
public static final int TypeToolKey
The type tool info key.
public SoCoResource()
Initializes a new instance of the SoCoResource
class.
public final Color getColor()
Gets the RGB color .
public final void setColor(Color value)
Gets the RGB color .
value
- The RGB Colorpublic int getSignature()
Gets the layer resource signature.
getSignature
in class FillLayerResource
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 minimal psd version required for layer resource. 0 indicates no restrictions.
getPsdVersion
in class LayerResource
public void save(StreamContainer streamContainer, int psdVersion)
Saves the resource to the specified stream container.
save
in class LayerResource
streamContainer
- The stream container to save to.psdVersion
- The PSD version.com.aspose.ms.System.NotImplementedException