Packages

 

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

Class ShmdResource

    • Field Detail

      • TypeToolKey

        public static final int TypeToolKey

        The type tool info key.

        See Also:
        Constant Field Values
      • SubResourceHeaderLength

        public static final int SubResourceHeaderLength

        The sub resource header length

        See Also:
        Constant Field Values
    • Constructor Detail

      • ShmdResource

        public ShmdResource()

        Initializes a new instance of the ShmdResource class.

      • ShmdResource

        public ShmdResource(byte[] data)

        Initializes a new instance of the ShmdResource class.

        Parameters:
        data - The data of the resource.
    • Method Detail

      • getLayerCreatedDateTime

        public final Date getLayerCreatedDateTime()

        Gets or sets the layer created time. If Layer created time not specified then returns new DateTime(0)

        Value: The layer created time.
      • setLayerCreatedDateTime

        public final void setLayerCreatedDateTime(Date value)

        Gets or sets the layer created time. If Layer created time not specified then returns new DateTime(0)

        Value: The layer created time.
      • 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
      • 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.