Packages

 

com.aspose.psd.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

      • TypeToolKey

        public static final int TypeToolKey

        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 final OSTypeStructure[] getWarpItems()

        Gets or sets the warp items.

        Value: The warp items.
      • setWarpItems

        public final void setWarpItems(OSTypeStructure[] value)

        Gets or sets the warp items.

        Value: The warp items.
      • getWarpClassName

        public final String getWarpClassName()

        Gets or sets the warp class name.

        Value: The warp class name.
      • setWarpClassName

        public final void setWarpClassName(String value)

        Gets or sets the warp class name.

        Value: The warp class name.
      • getWarpClassID

        public final ClassID getWarpClassID()

        Gets or sets the class ID.

        Value: The class ID.
      • setWarpClassID

        public final void setWarpClassID(ClassID value)

        Gets or sets the class ID.

        Value: The class ID.
      • getWarpVersion

        public final short getWarpVersion()

        Gets or sets the warp version.

        Value: The warp version.
      • setWarpVersion

        public final void setWarpVersion(short value)

        Gets or sets the warp version.

        Value: The warp version.
      • getWarpDescriptorVersion

        public final int getWarpDescriptorVersion()

        Gets or sets the warp descriptor version.

        Value: The warp descriptor version.
      • setWarpDescriptorVersion

        public final void setWarpDescriptorVersion(int value)

        Gets or sets the warp descriptor version.

        Value: The warp descriptor version.
      • getVersion

        public final short getVersion()

        Gets or sets the type tool version.

        Value: The type tool version.
      • setVersion

        public final void setVersion(short value)

        Gets or sets the type tool version.

        Value: The type tool version.
      • getLeft

        public final int getLeft()

        Gets or sets the left location.

        Value: The left location.
      • setLeft

        public final void setLeft(int value)

        Gets or sets the left location.

        Value: The left location.
      • getTop

        public final int getTop()

        Gets or sets the top location.

        Value: The top location.
      • setTop

        public final void setTop(int value)

        Gets or sets the top location.

        Value: The top location.
      • getRight

        public final int getRight()

        Gets or sets the right location.

        Value: The right location.
      • setRight

        public final void setRight(int value)

        Gets or sets the right location.

        Value: The right location.
      • getBottom

        public final int getBottom()

        Gets or sets the bottom location.

        Value: The bottom location.
      • setBottom

        public final void setBottom(int value)

        Gets or sets the bottom location.

        Value: The bottom location.
      • getTransformMatrix

        public final double[] getTransformMatrix()

        Gets or sets the transform matrix.

        Value: The transform matrix.
      • setTransformMatrix

        public final void setTransformMatrix(double[] value)

        Gets or sets the transform matrix.

        Value: The transform matrix.
      • getTextVersion

        public final short getTextVersion()

        Gets or sets the text version.

        Value: The text version.
      • setTextVersion

        public final void setTextVersion(short value)

        Gets or sets the text version.

        Value: The text version.
      • getDescriptorVersion

        public final int getDescriptorVersion()

        Gets or sets the descriptor version.

        Value: The descriptor version.
      • setDescriptorVersion

        public final void setDescriptorVersion(int value)

        Gets or sets the descriptor version.

        Value: The descriptor version.
      • getClassName

        public final String getClassName()

        Gets or sets the class name.

        Value: The class name.
      • setClassName

        public final void setClassName(String value)

        Gets or sets the class name.

        Value: The class name.
      • getClassID

        public final ClassID getClassID()

        Gets or sets the class ID.

        Value: The class ID.
      • setClassID

        public final void setClassID(ClassID value)

        Gets or sets the class ID.

        Value: The class ID.
      • 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 final OSTypeStructure[] getItems()

        Gets or sets the items.

        Value: The items.
      • setItems

        public final void setItems(OSTypeStructure[] value)

        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.