类 ContrastFilter

    • 构造器详细资料

      • ContrastFilter

        public ContrastFilter()
    • 方法详细资料

      • setBrightness

        public void setBrightness​(float brightness)
        Set the filter brightness.
        参数:
        brightness - the brightness in the range 0 to 1 min-value 0 max-value 0
        另请参阅:
        getBrightness()
      • getBrightness

        public float getBrightness()
        Get the filter brightness.
        返回:
        the brightness in the range 0 to 1
        另请参阅:
        setBrightness(float)
      • setContrast

        public void setContrast​(float contrast)
        Set the filter contrast.
        参数:
        contrast - the contrast in the range 0 to 1 min-value 0 max-value 0
        另请参阅:
        getContrast()
      • getContrast

        public float getContrast()
        Get the filter contrast.
        返回:
        the contrast in the range 0 to 1
        另请参阅:
        setContrast(float)