Class ChromeFilter

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

    public class ChromeFilter
    extends LightFilter
    A filter which simulates chrome.
    • Constructor Detail

      • ChromeFilter

        public ChromeFilter()
    • Method Detail

      • setAmount

        public void setAmount​(float amount)
        Set the amount of effect.
        Parameters:
        amount - the amount, min-value 0, max-value 1
        See Also:
        getAmount()
      • getAmount

        public float getAmount()
        Get the amount of chrome.
        Returns:
        the amount
        See Also:
        setAmount(float)
      • setExposure

        public void setExposure​(float exposure)
        Set the exppsure of the effect.
        Parameters:
        exposure - the exposure, min-value 0, max-value 1
        See Also:
        getExposure()
      • getExposure

        public float getExposure()
        Get the exppsure of the effect.
        Returns:
        the exposure
        See Also:
        setExposure(float)
      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
        Specified by:
        filter in interface java.awt.image.BufferedImageOp
        Overrides:
        filter in class WholeImageFilter