Class InnerShadow

java.lang.Object
javafx.scene.effect.InnerShadow
All Implemented Interfaces:
Effect

public class InnerShadow extends Object implements Effect
  • Constructor Details

    • InnerShadow

      public InnerShadow()
      Creates a new instance of InnerShadow with default parameters.
    • InnerShadow

      public InnerShadow(double radius, Color color)
      Creates a new instance of InnerShadow with specified radius and color.
      Parameters:
      radius - the radius of the shadow blur kernel
      color - the shadow Color
    • InnerShadow

      public InnerShadow(double radius, double offsetX, double offsetY, Color color)
      Creates a new instance of InnerShadow with specified radius, offsetX, offsetY and color.
      Parameters:
      radius - the radius of the shadow blur kernel
      offsetX - the shadow offset in the x direction
      offsetY - the shadow offset in the y direction
      color - the shadow Color
    • InnerShadow

      public InnerShadow(BlurType blurType, Color color, double radius, double choke, double offsetX, double offsetY)
      Creates a new instance of InnerShadow with the specified blurType, color, radius, spread, offsetX and offsetY.
      Parameters:
      blurType - the algorithm used to blur the shadow
      color - the shadow Color
      radius - the radius of the shadow blur kernel
      choke - the portion of the radius where the contribution of the source material will be 100%
      offsetX - the shadow offset in the x direction
      offsetY - the shadow offset in the y direction
      Since:
      JavaFX 2.1
  • Method Details

    • getBlurType

      public BlurType getBlurType()
    • setBlurType

      public void setBlurType(BlurType blurType)
    • getColor

      public Color getColor()
    • setColor

      public void setColor(Color color)
    • getRadius

      public double getRadius()
    • setRadius

      public void setRadius(double radius)
    • getChoke

      public double getChoke()
    • setChoke

      public void setChoke(double choke)
    • getOffsetX

      public double getOffsetX()
    • setOffsetX

      public void setOffsetX(double offsetX)
    • getOffsetY

      public double getOffsetY()
    • setOffsetY

      public void setOffsetY(double offsetY)
    • getInput

      public Effect getInput()
    • setInput

      public void setInput(Effect input)