Packages

 

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

Class LuniResource



  • public class LuniResource
    extends LayerResource

    Layer name resource

    • Field Detail

      • TYPE_TOOL_KEY

        public static final int TYPE_TOOL_KEY

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • LuniResource

        public LuniResource()

        Initializes a new instance of the LuniResource class.

    • Method Detail

      • getName

        public String getName()

        Gets or sets the name.

        Value: The name.
      • setName

        public void setName(String value)

        Gets or sets the name.

        Value: The name.
      • 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
      • 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.