Packages

 

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

Class TypeToolInfoResource



  • public class TypeToolInfoResource
    extends LayerResource

    The type tool information. For PSD version lower than 6.0.

    • Constructor Detail

      • TypeToolInfoResource

        public TypeToolInfoResource()
    • Method Detail

      • 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
      • getVersion

        public short getVersion()

        Gets or sets the version.

        Value: The version.
      • setVersion

        public void setVersion(short value)

        Gets or sets the version.

        Value: The version.
      • getTransformMatrix

        public double[] getTransformMatrix()

        Gets or sets the transform matrix.

        Value: The transform matrix.
      • setTransformMatrix

        public void setTransformMatrix(double[] value)

        Gets or sets the transform matrix.

        Value: The transform matrix.
      • getFontVersion

        public short getFontVersion()

        Gets or sets the font version.

        Value: The font version.
      • setFontVersion

        public void setFontVersion(short value)

        Gets or sets the font version.

        Value: The font version.
      • getFontsCount

        public short getFontsCount()

        Gets the fonts count.

      • getFonts

        public TypeToolFontInfo[] getFonts()

        Gets or sets the fonts.

        Value: The fonts.
      • setFonts

        public void setFonts(TypeToolFontInfo[] value)

        Gets or sets the fonts.

        Value: The fonts.
      • getStylesCount

        public short getStylesCount()

        Gets the styles count.

      • getStyles

        public TypeToolStyleInfo[] getStyles()

        Gets or sets the font styles.

        Value: The font styles.
      • setStyles

        public void setStyles(TypeToolStyleInfo[] value)

        Gets or sets the font styles.

        Value: The font styles.
      • getTypeValue

        public short getTypeValue()

        Gets or sets the type value.

        Value: The type value.
      • setTypeValue

        public void setTypeValue(short value)

        Gets or sets the type value.

        Value: The type value.
      • getScaleFactor

        public int getScaleFactor()

        Gets or sets the scale factor.

        Value: The scale factor.
      • setScaleFactor

        public void setScaleFactor(int value)

        Gets or sets the scale factor.

        Value: The scale factor.
      • getCharacterCount

        public int getCharacterCount()

        Gets or sets the character count.

        Value: The character count.
      • setCharacterCount

        public void setCharacterCount(int value)

        Gets or sets the character count.

        Value: The character count.
      • getHorizontalPlacement

        public int getHorizontalPlacement()

        Gets or sets the horizontal placement.

        Value: The horizontal placement.
      • setHorizontalPlacement

        public void setHorizontalPlacement(int value)

        Gets or sets the horizontal placement.

        Value: The horizontal placement.
      • getVerticalPlacement

        public int getVerticalPlacement()

        Gets or sets the vertical placement.

        Value: The vertical placement.
      • setVerticalPlacement

        public void setVerticalPlacement(int value)

        Gets or sets the vertical placement.

        Value: The vertical placement.
      • getSelectionStart

        public int getSelectionStart()

        Gets or sets the selection start.

        Value: The selection start.
      • setSelectionStart

        public void setSelectionStart(int value)

        Gets or sets the selection start.

        Value: The selection start.
      • getSelectionEnd

        public int getSelectionEnd()

        Gets or sets the selection end.

        Value: The selection end.
      • setSelectionEnd

        public void setSelectionEnd(int value)

        Gets or sets the selection end.

        Value: The selection end.
      • getLineCount

        public short getLineCount()

        Gets the line count.

        Value: The line count.
      • getLines

        public TypeToolLineInfo[] getLines()

        Gets or sets the lines.

        Value: The lines.
      • setLines

        public void setLines(TypeToolLineInfo[] value)

        Gets or sets the lines.

        Value: The lines.
      • getColorSpaceValue

        public short getColorSpaceValue()

        Gets or sets the color space value.

        Value: The color space value.
      • setColorSpaceValue

        public void setColorSpaceValue(short value)

        Gets or sets the color space value.

        Value: The color space value.
      • getRComponent

        public short getRComponent()

        Gets or sets the r component.

        Value: The r component.
      • setRComponent

        public void setRComponent(short value)

        Gets or sets the r component.

        Value: The r component.
      • getGComponent

        public short getGComponent()

        Gets or sets the g component.

        Value: The g component.
      • setGComponent

        public void setGComponent(short value)

        Gets or sets the g component.

        Value: The g component.
      • getBComponent

        public short getBComponent()

        Gets or sets the b component.

        Value: The b component.
      • setBComponent

        public void setBComponent(short value)

        Gets or sets the b component.

        Value: The b component.
      • getAComponent

        public short getAComponent()

        Gets or sets a component.

        Value: a component.
      • setAComponent

        public void setAComponent(short value)

        Gets or sets a component.

        Value: a component.
      • save

        public void save(StreamContainer streamContainer,
                         int psdVersion)

        Saves the specified stream container.

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