public class TypeToolInfo6Resource extends LayerResource
The type tool information. For PSD version higher or equal to the 6.0.
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_TOOL_KEY
The type tool info key.
|
PSB_RESOURCE_SIGNATURE, RESOURCE_SIGNATURE
Constructor and Description |
---|
TypeToolInfo6Resource(ClassID classID,
ClassID warpClassID)
Initializes a new instance of the
TypeToolInfo6Resource class. |
Modifier and Type | Method and Description |
---|---|
int |
getBottom()
Gets or sets the bottom location.
|
ClassID |
getClassID()
Gets or sets the class ID.
|
String |
getClassName()
Gets or sets the class name.
|
int |
getDescriptorVersion()
Gets or sets the descriptor version.
|
OSTypeStructure[] |
getItems()
Gets or sets the items.
|
int |
getKey()
Gets the layer resource key.
|
int |
getLeft()
Gets or sets the left location.
|
int |
getLength()
Gets the layer resource length in bytes.
|
int |
getPsdVersion()
Gets the minimal psd version required for layer resource.
|
int |
getRight()
Gets or sets the right location.
|
int |
getSignature()
Gets the layer resource signature.
|
short |
getTextVersion()
Gets or sets the text version.
|
int |
getTop()
Gets or sets the top location.
|
double[] |
getTransformMatrix()
Gets or sets the transform matrix.
|
short |
getVersion()
Gets or sets the type tool version.
|
ClassID |
getWarpClassID()
Gets or sets the class ID.
|
String |
getWarpClassName()
Gets or sets the warp class name.
|
int |
getWarpDescriptorVersion()
Gets or sets the warp descriptor version.
|
OSTypeStructure[] |
getWarpItems()
Gets or sets the warp items.
|
short |
getWarpVersion()
Gets or sets the warp version.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the resource to the specified stream container.
|
void |
setBottom(int value) |
void |
setClassID(ClassID value) |
void |
setClassName(String value) |
void |
setDescriptorVersion(int value) |
void |
setItems(OSTypeStructure[] value) |
void |
setLeft(int value) |
void |
setRight(int value) |
void |
setTextVersion(short value) |
void |
setTop(int value) |
void |
setTransformMatrix(double[] value) |
void |
setVersion(short value) |
void |
setWarpClassID(ClassID value) |
void |
setWarpClassName(String value) |
void |
setWarpDescriptorVersion(int value) |
void |
setWarpItems(OSTypeStructure[] value) |
void |
setWarpVersion(short value) |
toString
public static final int TYPE_TOOL_KEY
The type tool info key.
public OSTypeStructure[] getWarpItems()
Gets or sets the warp items.
Value: The warp items.public void setWarpItems(OSTypeStructure[] value)
public String getWarpClassName()
Gets or sets the warp class name.
Value: The warp class name.public void setWarpClassName(String value)
public ClassID getWarpClassID()
Gets or sets the class ID.
Value: The class ID.public void setWarpClassID(ClassID value)
public short getWarpVersion()
Gets or sets the warp version.
Value: The warp version.public void setWarpVersion(short value)
public int getWarpDescriptorVersion()
Gets or sets the warp descriptor version.
Value: The warp descriptor version.public void setWarpDescriptorVersion(int value)
public short getVersion()
Gets or sets the type tool version.
Value: The type tool version.public void setVersion(short value)
public int getLeft()
Gets or sets the left location.
Value: The left location.public void setLeft(int value)
public int getTop()
Gets or sets the top location.
Value: The top location.public void setTop(int value)
public int getRight()
Gets or sets the right location.
Value: The right location.public void setRight(int value)
public int getBottom()
Gets or sets the bottom location.
Value: The bottom location.public void setBottom(int value)
public double[] getTransformMatrix()
Gets or sets the transform matrix.
Value: The transform matrix.public void setTransformMatrix(double[] value)
public short getTextVersion()
Gets or sets the text version.
Value: The text version.public void setTextVersion(short value)
public int getDescriptorVersion()
Gets or sets the descriptor version.
Value: The descriptor version.public void setDescriptorVersion(int value)
public String getClassName()
Gets or sets the class name.
Value: The class name.public void setClassName(String value)
public ClassID getClassID()
Gets or sets the class ID.
Value: The class ID.public void setClassID(ClassID value)
public int getSignature()
Gets the layer resource signature.
getSignature
in class LayerResource
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 OSTypeStructure[] getItems()
Gets or sets the items.
Value: The items.public void setItems(OSTypeStructure[] value)
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.