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 |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature
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)
Gets or sets the bottom location.
|
void |
setClassID(ClassID value)
Gets or sets the class ID.
|
void |
setClassName(String value)
Gets or sets the class name.
|
void |
setDescriptorVersion(int value)
Gets or sets the descriptor version.
|
void |
setItems(OSTypeStructure[] value)
Gets or sets the items.
|
void |
setLeft(int value)
Gets or sets the left location.
|
void |
setRight(int value)
Gets or sets the right location.
|
void |
setTextVersion(short value)
Gets or sets the text version.
|
void |
setTop(int value)
Gets or sets the top location.
|
void |
setTransformMatrix(double[] value)
Gets or sets the transform matrix.
|
void |
setVersion(short value)
Gets or sets the type tool version.
|
void |
setWarpClassID(ClassID value)
Gets or sets the class ID.
|
void |
setWarpClassName(String value)
Gets or sets the warp class name.
|
void |
setWarpDescriptorVersion(int value)
Gets or sets the warp descriptor version.
|
void |
setWarpItems(OSTypeStructure[] value)
Gets or sets the warp items.
|
void |
setWarpVersion(short value)
Gets or sets the warp version.
|
toString
public static final int TypeToolKey
The type tool info key.
public TypeToolInfo6Resource(ClassID classID, ClassID warpClassID)
Initializes a new instance of the TypeToolInfo6Resource
class.
classID
- The class ID.warpClassID
- The warp class ID.public final OSTypeStructure[] getWarpItems()
Gets or sets the warp items.
Value: The warp items.public final void setWarpItems(OSTypeStructure[] value)
Gets or sets the warp items.
Value: The warp items.public final String getWarpClassName()
Gets or sets the warp class name.
Value: The warp class name.public final void setWarpClassName(String value)
Gets or sets the warp class name.
Value: The warp class name.public final ClassID getWarpClassID()
Gets or sets the class ID.
Value: The class ID.public final void setWarpClassID(ClassID value)
Gets or sets the class ID.
Value: The class ID.public final short getWarpVersion()
Gets or sets the warp version.
Value: The warp version.public final void setWarpVersion(short value)
Gets or sets the warp version.
Value: The warp version.public final int getWarpDescriptorVersion()
Gets or sets the warp descriptor version.
Value: The warp descriptor version.public final void setWarpDescriptorVersion(int value)
Gets or sets the warp descriptor version.
Value: The warp descriptor version.public final short getVersion()
Gets or sets the type tool version.
Value: The type tool version.public final void setVersion(short value)
Gets or sets the type tool version.
Value: The type tool version.public final int getLeft()
Gets or sets the left location.
Value: The left location.public final void setLeft(int value)
Gets or sets the left location.
Value: The left location.public final int getTop()
Gets or sets the top location.
Value: The top location.public final void setTop(int value)
Gets or sets the top location.
Value: The top location.public final int getRight()
Gets or sets the right location.
Value: The right location.public final void setRight(int value)
Gets or sets the right location.
Value: The right location.public final int getBottom()
Gets or sets the bottom location.
Value: The bottom location.public final void setBottom(int value)
Gets or sets the bottom location.
Value: The bottom location.public final double[] getTransformMatrix()
Gets or sets the transform matrix.
Value: The transform matrix.public final void setTransformMatrix(double[] value)
Gets or sets the transform matrix.
Value: The transform matrix.public final short getTextVersion()
Gets or sets the text version.
Value: The text version.public final void setTextVersion(short value)
Gets or sets the text version.
Value: The text version.public final int getDescriptorVersion()
Gets or sets the descriptor version.
Value: The descriptor version.public final void setDescriptorVersion(int value)
Gets or sets the descriptor version.
Value: The descriptor version.public final String getClassName()
Gets or sets the class name.
Value: The class name.public final void setClassName(String value)
Gets or sets the class name.
Value: The class name.public final ClassID getClassID()
Gets or sets the class ID.
Value: The class ID.public final void setClassID(ClassID value)
Gets or sets the class ID.
Value: The class ID.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 final OSTypeStructure[] getItems()
Gets or sets the items.
Value: The items.public final void setItems(OSTypeStructure[] value)
Gets or sets the items.
Value: The items.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.