类 SparkleFilter

    • 构造器详细资料

      • 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