Packages

 

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

      • TypeToolKey

        public static final int TypeToolKey

        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 or sets the layer created date.

        Value: The layer created date.
      • setLayerCreatedDateTime

        public final void setLayerCreatedDateTime(Date value)

        Gets or sets the layer created date.

        Value: The layer created date.
      • 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 resource to the specified stream container.

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