Packages

 

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

Class LayerSectionResource



  • public class LayerSectionResource
    extends LayerResource

    The layer section resource.

    • Field Detail

      • TypeToolKey

        public static final int TypeToolKey

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • LayerSectionResource

        public LayerSectionResource()

        Initializes a new instance of the LayerSectionResource class.

    • Method Detail

      • getBlendModeKey

        public String getBlendModeKey()

        Gets or sets the blend mode key.

        Throws:
        com.aspose.ms.System.ArgumentException
      • setBlendModeKey

        public void setBlendModeKey(String value)

        Gets or sets the blend mode key.

        Throws:
        com.aspose.ms.System.ArgumentException
      • 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
      • getSectionType

        public int getSectionType()

        Gets or sets the section type.

      • setSectionType

        public void setSectionType(int value)

        Gets or sets the section type.

      • getSignature

        public int getSignature()

        Gets the layer resource signature.

        Specified by:
        getSignature in class LayerResource
      • getSubtype

        public int getSubtype()

        Gets or sets the subtype.

      • setSubtype

        public void setSubtype(int value)

        Gets or sets the subtype.

      • 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.