Packages

 

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

Class Lr16Resource

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.psd.layers.layerresources.ILayersSupport


    public class Lr16Resource
    extends LayerResource
    implements com.aspose.imaging_internal.fileformats.psd.layers.layerresources.ILayersSupport

    The lr32 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

      • Lr16Resource

        public Lr16Resource(int length)

        Initializes a new instance of the Lr32Resource class.

        Parameters:
        length - The length.
    • Method Detail

      • getKey

        public int getKey()

        Gets the layer resource key.

        Specified by:
        getKey in class LayerResource
      • getLayers

        public Layer[] getLayers()

        Gets or sets the layers.

        Value: The layers.
        Specified by:
        getLayers in interface com.aspose.imaging_internal.fileformats.psd.layers.layerresources.ILayersSupport
      • setLayers

        public void setLayers(Layer[] value)

        Gets or sets the layers.

        Value: The layers.
        Specified by:
        setLayers in interface com.aspose.imaging_internal.fileformats.psd.layers.layerresources.ILayersSupport
      • 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