Packages

 

com.aspose.imaging.fileformats.psd.layers.adjustmentlayers

Class PhotoFilterLayer

    • Method Detail

      • getColor

        public final Color getColor()

        Gets the RGB color of filter.

        Returns:
        the RGB color of filter.
      • setColor

        public final void setColor(Color value)

        Sets the RGB color of filter.

        Parameters:
        value - the RGB color of filter.
      • getDensity

        public final int getDensity()

        Gets the density of filter

        Returns:
        the density of filter
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Density must be in range from 0 to 100
      • setDensity

        public final void setDensity(int value)

        Sets the density of filter

        Parameters:
        value - the density of filter
        Throws:
        com.aspose.ms.System.ArgumentOutOfRangeException - Density must be in range from 0 to 100
      • getPreserveLuminosity

        public final boolean getPreserveLuminosity()

        Gets a value indicating whether [preserve luminosity].

        Returns:
        a value indicating whether [preserve luminosity].
      • setPreserveLuminosity

        public final void setPreserveLuminosity(boolean value)

        Sets a value indicating whether [preserve luminosity].

        Parameters:
        value - a value indicating whether [preserve luminosity].