类 ChromeFilter

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

    public class ChromeFilter
    extends LightFilter
    A filter which simulates chrome.
    • 构造器详细资料

      • ChromeFilter

        public ChromeFilter()
    • 方法详细资料

      • setAmount

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

        public float getAmount()
        Get the amount of chrome.
        返回:
        the amount
        另请参阅:
        setAmount(float)
      • setExposure

        public void setExposure​(float exposure)
        Set the exppsure of the effect.
        参数:
        exposure - the exposure min-value 0 max-value 1
        另请参阅:
        getExposure()
      • getExposure

        public float getExposure()
        Get the exppsure of the effect.
        返回:
        the exposure
        另请参阅:
        setExposure(float)
      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
        指定者:
        filter 在接口中 java.awt.image.BufferedImageOp
        覆盖:
        filter 在类中 WholeImageFilter