Packages

 

com.aspose.imaging.fileformats.psd.layers.layerresources

Class TypeToolInfo6Resource



  • public class TypeToolInfo6Resource
    extends LayerResource

    The type tool information. For PSD version higher or equal to the 6.0.

    • Field Detail

      • TYPE_TOOL_KEY

        public static final int TYPE_TOOL_KEY

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • TypeToolInfo6Resource

        public TypeToolInfo6Resource(ClassID classID,
                                     ClassID warpClassID)

        Initializes a new instance of the TypeToolInfo6Resource class.

        Parameters:
        classID - The class ID.
        warpClassID - The warp class ID.
    • Method Detail

      • getWarpItems

        public OSTypeStructure[] getWarpItems()

        Gets or sets the warp items.

        Value: The warp items.
      • getWarpClassName

        public String getWarpClassName()

        Gets or sets the warp class name.

        Value: The warp class name.
      • setWarpClassName

        public void setWarpClassName(String value)
      • getWarpClassID

        public ClassID getWarpClassID()

        Gets or sets the class ID.

        Value: The class ID.
      • setWarpClassID

        public void setWarpClassID(ClassID value)
      • getWarpVersion

        public short getWarpVersion()

        Gets or sets the warp version.

        Value: The warp version.
      • setWarpVersion

        public void setWarpVersion(short value)
      • getWarpDescriptorVersion

        public int getWarpDescriptorVersion()

        Gets or sets the warp descriptor version.

        Value: The warp descriptor version.
      • setWarpDescriptorVersion

        public void setWarpDescriptorVersion(int value)
      • getVersion

        public short getVersion()

        Gets or sets the type tool version.

        Value: The type tool version.
      • setVersion

        public void setVersion(short value)
      • getLeft

        public int getLeft()

        Gets or sets the left location.

        Value: The left location.
      • setLeft

        public void setLeft(int value)
      • getTop

        public int getTop()

        Gets or sets the top location.

        Value: The top location.
      • setTop

        public void setTop(int value)
      • getRight

        public int getRight()

        Gets or sets the right location.

        Value: The right location.
      • setRight

        public void setRight(int value)
      • getBottom

        public int getBottom()

        Gets or sets the bottom location.

        Value: The bottom location.
      • setBottom

        public void setBottom(int value)
      • getTransformMatrix

        public double[] getTransformMatrix()

        Gets or sets the transform matrix.

        Value: The transform matrix.
      • setTransformMatrix

        public void setTransformMatrix(double[] value)
      • getTextVersion

        public short getTextVersion()

        Gets or sets the text version.

        Value: The text version.
      • setTextVersion

        public void setTextVersion(short value)
      • getDescriptorVersion

        public int getDescriptorVersion()

        Gets or sets the descriptor version.

        Value: The descriptor version.
      • setDescriptorVersion

        public void setDescriptorVersion(int value)
      • getClassName

        public String getClassName()

        Gets or sets the class name.

        Value: The class name.
      • setClassName

        public void setClassName(String value)
      • getClassID

        public ClassID getClassID()

        Gets or sets the class ID.

        Value: The class ID.
      • setClassID

        public void setClassID(ClassID value)
      • getSignature

        public int getSignature()

        Gets the layer resource signature.

        Specified by:
        getSignature in class LayerResource
      • getKey

        public int getKey()

        Gets the layer resource key.

        Specified by:
        getKey in class LayerResource
      • getLength

        public int getLength()

        Gets the layer resource length in bytes.

        Specified by:
        getLength in class LayerResource
      • getPsdVersion

        public int getPsdVersion()

        Gets the minimal psd version required for layer resource. 0 indicates no restrictions.

        Specified by:
        getPsdVersion in class LayerResource
      • getItems

        public OSTypeStructure[] getItems()

        Gets or sets the items.

        Value: The items.
      • save

        public void save(StreamContainer streamContainer,
                         int psdVersion)

        Saves the resource to the specified stream container.

        Specified by:
        save in class LayerResource
        Parameters:
        streamContainer - The stream container to save to.
        psdVersion - The PSD version.