Class ShineFilter

  • All Implemented Interfaces:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class ShineFilter
    extends AbstractBufferedImageOp
    • Constructor Detail

      • ShineFilter

        public ShineFilter()
    • Method Detail

      • setAngle

        public void setAngle​(float angle)
      • getAngle

        public float getAngle()
      • setDistance

        public void setDistance​(float distance)
      • getDistance

        public float getDistance()
      • setRadius

        public void setRadius​(float radius)
        Set the radius of the kernel, and hence the amount of blur. The bigger the radius, the longer this filter will take.
        Parameters:
        radius - the radius of the blur in pixels.
      • getRadius

        public float getRadius()
        Get the radius of the kernel.
        Returns:
        the radius
      • setBevel

        public void setBevel​(float bevel)
      • getBevel

        public float getBevel()
      • setShineColor

        public void setShineColor​(int shineColor)
      • getShineColor

        public int getShineColor()
      • setShadowOnly

        public void setShadowOnly​(boolean shadowOnly)
      • getShadowOnly

        public boolean getShadowOnly()
      • setBrightness

        public void setBrightness​(float brightness)
      • getBrightness

        public float getBrightness()
      • setSoftness

        public void setSoftness​(float softness)
      • getSoftness

        public float getSoftness()
      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object