类 SparkleFilter

  • 所有已实现的接口:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class SparkleFilter
    extends PointFilter
    • 构造器详细资料

      • SparkleFilter

        public SparkleFilter()
    • 方法详细资料

      • setColor

        public void setColor​(int color)
      • getColor

        public int getColor()
      • setRandomness

        public void setRandomness​(int randomness)
      • getRandomness

        public int getRandomness()
      • setAmount

        public void setAmount​(int amount)
        Set the amount of sparkle.
        参数:
        amount - the amount min-value 0 max-value 1
        另请参阅:
        getAmount()
      • getAmount

        public int getAmount()
        Get the amount of sparkle.
        返回:
        the amount
        另请参阅:
        setAmount(int)
      • setRays

        public void setRays​(int rays)
      • getRays

        public int getRays()
      • setRadius

        public void setRadius​(int radius)
        Set the radius of the effect.
        参数:
        radius - the radius min-value 0
        另请参阅:
        getRadius()
      • getRadius

        public int getRadius()
        Get the radius of the effect.
        返回:
        the radius
        另请参阅:
        setRadius(int)
      • filterRGB

        public int filterRGB​(int x,
                             int y,
                             int rgb)
        指定者:
        filterRGB 在类中 PointFilter
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object