Packages

 

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

Class Lr16Resource



  • public class Lr16Resource
    extends LayerResource

    The lr32 resource.

    • Field Detail

      • TypeToolKey

        public static final int TypeToolKey

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • Lr16Resource

        public Lr16Resource()

        Initializes a new instance of the Lr16Resource class.

        The length.
    • Method Detail

      • getKey

        public int getKey()

        Gets the layer resource key.

        Specified by:
        getKey in class LayerResource
      • getLayers

        public final Layer[] getLayers()

        Gets or sets the layers.

        Value: The layers.
      • setLayers

        public final void setLayers(Layer[] value)

        Gets or sets the layers.

        Value: The layers.
      • getLength

        public int getLength()

        Gets the resource length for the PSD header version of the image.

        Specified by:
        getLength in class LayerResource
      • save

        public void save(StreamContainer streamContainer,
                         int psdVersion)

        Saves the layer record.

        Specified by:
        save in class LayerResource
        Parameters:
        streamContainer - The stream container.
        psdVersion - The psd version.
        Throws:
        com.aspose.ms.System.NotImplementedException - Saving of 32 bit channels is not implemented