class Clutter::BrightnessContrastEffect - clutter-2.2.5 Documentation

# class Clutter::BrightnessContrastEffect

### Public Instance Methods

set_brightness(brightness_all_or_red, brightness_green=nil, brightness_blue=nil) click to toggle source

    # File lib/clutter/brightness-contrast-effect.rb, line 32
    def set_brightness(brightness_all_or_red, brightness_green=nil,
                       brightness_blue=nil)
      if brightness_green.nil? && brightness_blue.nil?
        brightness_all = brightness_all_or_red
        set_brightness_raw(brightness_all)
      else
        brightness_red = brightness_all_or_red
        set_brightness_full(brightness_red, brightness_green,
                            brightness_blue)
      end
    end

Also aliased as: set_brightness_raw
set_brightness_raw(brightness_all_or_red, brightness_green=nil, brightness_blue=nil)
Alias for: set_brightness
set_contrast(contrast_all_or_red, contrast_green=nil, contrast_blue=nil) click to toggle source

    # File lib/clutter/brightness-contrast-effect.rb, line 20
    def set_contrast(contrast_all_or_red, contrast_green=nil, contrast_blue=nil)
      if contrast_green.nil? && contrast_blue.nil?
        contrast_all = contrast_all_or_red
        set_contrast_raw(contrast_all)
      else
        contrast_red = contrast_all_or_red
        set_contrast_full(contrast_red, contrast_green,
                          contrast_blue)
      end
    end

Also aliased as: set_contrast_raw
set_contrast_raw(contrast_all_or_red, contrast_green=nil, contrast_blue=nil)
Alias for: set_contrast