Packages

 

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

Class ExpaResource

    • Field Detail

      • TypeToolKey

        public static final int TypeToolKey

        The type tool info key.

        See Also:
        Constant Field Values
    • Constructor Detail

      • ExpaResource

        public ExpaResource()

        Initializes a new instance of the ExpaResource class.

      • ExpaResource

        public ExpaResource(float exposure,
                            float offset,
                            float gamma)

        Initializes a new instance of the ExpaResource class.

        Parameters:
        exposure - The exposure.
        offset - The offset.
        gamma - The gamma.
      • ExpaResource

        public ExpaResource(byte[] bytes)

        Initializes a new instance of the ExpaResource class.

        Parameters:
        bytes - The bytes.
        Throws:
        PsdImageArgumentException - Invalid Expa Resource data
    • Method Detail

      • getVersion

        public final short getVersion()

        Gets the version. Default is 1

        Value: The version.
      • setVersion

        public void setVersion(short value)

        Gets the version. Default is 1

        Value: The version.
      • getExposure

        public final float getExposure()

        Gets or sets the exposure.

        Value: The exposure.
      • setExposure

        public final void setExposure(float value)

        Gets or sets the exposure.

        Value: The exposure.
      • getOffset

        public final float getOffset()

        Gets or sets the offset.

        Value: The offset.
      • setOffset

        public final void setOffset(float value)

        Gets or sets the offset.

        Value: The offset.
      • getGammaCorrection

        public final float getGammaCorrection()

        Gets or sets the gamma.

        Value: The gamma.
      • setGammaCorrection

        public final void setGammaCorrection(float value)

        Gets or sets the gamma.

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