Packages

 

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

Class CustResource



  • public class CustResource
    extends LayerResource

    Class CustResource. This resource contains information about blending of clipped element.

    See Also:
    LayerResource
    • Field Detail

      • TYPE_TOOL_KEY

        public static final int TYPE_TOOL_KEY

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • CustResource

        public CustResource()

        Initializes a new instance of the CustResource class.

      • CustResource

        public CustResource(byte[] data)

        Initializes a new instance of the CustResource class.

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

      • getLayerCreatedDateTime

        public final Date getLayerCreatedDateTime()

        Gets the layer created date.

        Returns:
        the layer created date.
      • setLayerCreatedDateTime

        public final void setLayerCreatedDateTime(Date value)

        Sets the layer created date.

        Parameters:
        value - the layer created date.
      • getKey

        public int getKey()

        Gets the layer resource key.

        Specified by:
        getKey in class LayerResource
        Returns:
        the layer resource key.
      • getSignature

        public int getSignature()

        Gets the signature.

        Specified by:
        getSignature in class LayerResource
        Returns:
        the signature.
      • getLength

        public int getLength()

        Gets the layer resource length in bytes.

        Specified by:
        getLength in class LayerResource
        Returns:
        the layer resource length in bytes.
      • getPsdVersion

        public int getPsdVersion()

        Gets the psd version.

        Specified by:
        getPsdVersion in class LayerResource
        Returns:
        the psd version.
      • 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.