Packages

 

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

Class InnerShadowEffect

  • java.lang.Object
    • com.aspose.psd.fileformats.psd.layers.layereffects.InnerShadowEffect
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getAngle()
      Gets or sets the angle in degrees.
      long getBlendMode()
      Gets or sets the blend mode.
      Color getColor()
      Gets or sets the color.
      int getDistance()
      Gets or sets the distance in pixels.
      int getNoise()
      Gets or sets the noise.
      byte getOpacity()
      Gets or sets the opacity.
      int getSize()
      Gets or sets the blur value in pixels.
      int getSpread()
      Gets or sets the spread (choke) as percentage.
      boolean getUseGlobalLight()
      Gets or sets a value indicating whether [use this angle in all of the layer effects].
      boolean isVisible()
      Gets or sets a value indicating whether this instance is visible.
      void setAngle(int value)
      Gets or sets the angle in degrees.
      void setBlendMode(long value)
      Gets or sets the blend mode.
      void setColor(Color value)
      Gets or sets the color.
      void setDistance(int value)
      Gets or sets the distance in pixels.
      void setNoise(int value)
      Gets or sets the noise.
      void setOpacity(byte value)
      Gets or sets the opacity.
      void setSize(int value)
      Gets or sets the blur value in pixels.
      void setSpread(int value)
      Gets or sets the spread (choke) as percentage.
      void setUseGlobalLight(boolean value)
      Gets or sets a value indicating whether [use this angle in all of the layer effects].
      void setVisible(boolean value)
      Gets or sets a value indicating whether this instance is visible.
    • Method Detail

      • getColor

        public final Color getColor()

        Gets or sets the color.

        Value: The color.
        Specified by:
        getColor in interface IShadowEffect
      • setColor

        public final void setColor(Color value)

        Gets or sets the color.

        Value: The color.
        Specified by:
        setColor in interface IShadowEffect
      • getBlendMode

        public final long getBlendMode()

        Gets or sets the blend mode.

        Value: The blend mode.
        Specified by:
        getBlendMode in interface ILayerEffect
      • setBlendMode

        public final void setBlendMode(long value)

        Gets or sets the blend mode.

        Value: The blend mode.
        Specified by:
        setBlendMode in interface ILayerEffect
      • isVisible

        public final boolean isVisible()

        Gets or sets a value indicating whether this instance is visible.

        Value: true if this instance is visible; otherwise, false.
        Specified by:
        isVisible in interface ILayerEffect
      • setVisible

        public final void setVisible(boolean value)

        Gets or sets a value indicating whether this instance is visible.

        Value: true if this instance is visible; otherwise, false.
        Specified by:
        setVisible in interface ILayerEffect
      • getOpacity

        public final byte getOpacity()

        Gets or sets the opacity.

        Value: The opacity.
        Specified by:
        getOpacity in interface ILayerEffect
      • setOpacity

        public final void setOpacity(byte value)

        Gets or sets the opacity.

        Value: The opacity.
        Specified by:
        setOpacity in interface ILayerEffect
      • getAngle

        public final int getAngle()

        Gets or sets the angle in degrees.

        Value: The angle.
        Specified by:
        getAngle in interface IShadowEffect
      • setAngle

        public final void setAngle(int value)

        Gets or sets the angle in degrees.

        Value: The angle.
        Specified by:
        setAngle in interface IShadowEffect
      • getUseGlobalLight

        public final boolean getUseGlobalLight()

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

        Value: true if [use global light]; otherwise, false.
        Specified by:
        getUseGlobalLight in interface IShadowEffect
      • setUseGlobalLight

        public final void setUseGlobalLight(boolean value)

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

        Value: true if [use global light]; otherwise, false.
        Specified by:
        setUseGlobalLight in interface IShadowEffect
      • getDistance

        public final int getDistance()

        Gets or sets the distance in pixels.

        Value: The distance.
        Specified by:
        getDistance in interface IShadowEffect
      • setDistance

        public final void setDistance(int value)

        Gets or sets the distance in pixels.

        Value: The distance.
        Specified by:
        setDistance in interface IShadowEffect
      • getSpread

        public final int getSpread()

        Gets or sets the spread (choke) as percentage.

        Value: The spread.
        Specified by:
        getSpread in interface IShadowEffect
      • setSpread

        public final void setSpread(int value)

        Gets or sets the spread (choke) as percentage.

        Value: The spread.
        Specified by:
        setSpread in interface IShadowEffect
      • getSize

        public final int getSize()

        Gets or sets the blur value in pixels.

        Value: The size.
        Specified by:
        getSize in interface IShadowEffect
      • setSize

        public final void setSize(int value)

        Gets or sets the blur value in pixels.

        Value: The size.
        Specified by:
        setSize in interface IShadowEffect
      • getNoise

        public final int getNoise()

        Gets or sets the noise.

        Specified by:
        getNoise in interface IShadowEffect
        Throws:
        PsdImageArgumentException - Noise must be specified as percentage in range from 0 to 100 Value: The noise.
      • setNoise

        public final void setNoise(int value)

        Gets or sets the noise.

        Specified by:
        setNoise in interface IShadowEffect
        Throws:
        PsdImageArgumentException - Noise must be specified as percentage in range from 0 to 100 Value: The noise.