Packages

 

com.aspose.imaging.fileformats.psd.layers.layereffects

Class DropShadowEffect

  • java.lang.Object
    • com.aspose.imaging.fileformats.psd.layers.layereffects.DropShadowEffect
    • Method Detail

      • getColor

        public final Color getColor()

        Gets the color.

        Returns:
        the color.
      • setColor

        public final void setColor(Color value)

        Sets the color.

        Parameters:
        value - the color.
      • getBlendMode

        public final long getBlendMode()

        Gets the blend mode.

        Specified by:
        getBlendMode in interface ILayerEffect
        Returns:
        the blend mode.
      • setBlendMode

        public final void setBlendMode(long value)

        Sets the blend mode.

        Specified by:
        setBlendMode in interface ILayerEffect
        Parameters:
        value - the blend mode.
      • isVisible

        public final boolean isVisible()

        Gets a value indicating whether this instance is visible.

        Specified by:
        isVisible in interface ILayerEffect
        Returns:
        a value indicating whether this instance is visible.
      • setVisible

        public final void setVisible(boolean value)

        Sets a value indicating whether this instance is visible.

        Specified by:
        setVisible in interface ILayerEffect
        Parameters:
        value - a value indicating whether this instance is visible.
      • getOpacity

        public final byte getOpacity()

        Gets the opacity.

        Specified by:
        getOpacity in interface ILayerEffect
        Returns:
        the opacity.
      • setOpacity

        public final void setOpacity(byte value)

        Sets the opacity.

        Specified by:
        setOpacity in interface ILayerEffect
        Parameters:
        value - the opacity.
      • getAngle

        public final int getAngle()

        Gets the angle in degrees.

        Returns:
        the angle in degrees.
      • setAngle

        public final void setAngle(int value)

        Sets the angle in degrees.

        Parameters:
        value - the angle in degrees.
      • getUseGlobalLight

        public final boolean getUseGlobalLight()

        Gets a value indicating whether [use this angle in all of the layer effects].

        Returns:
        a value indicating whether [use this angle in all of the layer effects].
      • setUseGlobalLight

        public final void setUseGlobalLight(boolean value)

        Sets a value indicating whether [use this angle in all of the layer effects].

        Parameters:
        value - a value indicating whether [use this angle in all of the layer effects].
      • getDistance

        public final int getDistance()

        Gets the distance in pixels.

        Returns:
        the distance in pixels.
      • setDistance

        public final void setDistance(int value)

        Sets the distance in pixels.

        Parameters:
        value - the distance in pixels.
      • getSpread

        public final int getSpread()

        Gets the intensity as a percent.

        Returns:
        the intensity as a percent.
      • setSpread

        public final void setSpread(int value)

        Sets the intensity as a percent.

        Parameters:
        value - the intensity as a percent.
      • getSize

        public final int getSize()

        Gets the blur value in pixels.

        Returns:
        the blur value in pixels.
      • setSize

        public final void setSize(int value)

        Sets the blur value in pixels.

        Parameters:
        value - the blur value in pixels.
      • getNoise

        public final int getNoise()

        Gets the noise.

        Returns:
        the noise.
        Throws:
        PsdImageArgumentException - Noise must be specified in percents in range from 0 to 100
      • setNoise

        public final void setNoise(int value)

        Sets the noise.

        Parameters:
        value - the noise.
        Throws:
        PsdImageArgumentException - Noise must be specified in percents in range from 0 to 100
      • getKnocksOut

        public final boolean getKnocksOut()

        Gets a value indicating whether [knocks out].

        Returns:
        a value indicating whether [knocks out].
      • setKnocksOut

        public final void setKnocksOut(boolean value)

        Sets a value indicating whether [knocks out].

        Parameters:
        value - a value indicating whether [knocks out].