Packages

 

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

Class OSTypeStructure

  • java.lang.Object
    • com.aspose.imaging.fileformats.psd.layers.layerresources.OSTypeStructure
    • Constructor Detail

      • OSTypeStructure

        public OSTypeStructure(ClassID keyName)

        Initializes a new instance of the OSTypeStructure class.

        Parameters:
        keyName - The key name.
    • Method Detail

      • getKey

        public abstract int getKey()

        Gets the structure key.

      • getKeyName

        public ClassID getKeyName()

        Gets or sets the key name.

        Value: The key name.
      • setKeyName

        public void setKeyName(ClassID value)
      • getLength

        public abstract int getLength()

        Gets the OSTypeStructure length in bytes.

      • save

        public void save(StreamContainer streamContainer)

        Saves the structure to the specified stream container.

        Parameters:
        streamContainer - The stream container.
      • saveWithoutKeyName

        public final void saveWithoutKeyName(StreamContainer streamContainer)

        Saves the structure to the specified stream container.

        Parameters:
        streamContainer - The stream container.
      • getHeaderLength

        public int getHeaderLength()

        Gets the header length.

        Returns:
        The header length