"DTD/xhtml1-strict.dtd">
Class Imlib2::ColorModifier
In: ./imlib2.c
Methods
brightness=    contrast=    gamma=    initialize    new    reset   
Public Class methods
new(VALUE klass)

Returns a new Imlib2::ColorModifier

Example:

  cmod = Imlib2::ColorModifier.new
Public Instance methods
initialize(VALUE self)

Imlib2::ColorModifier constructor

This method takes no arguments.

gamma=(VALUE self, VALUE gamma)

Set the gamma value.

Example:

  cmod.gamma = 0.5
brightness=(VALUE self, VALUE brightness)

Set the brightness value.

Example:

  cmod.brightness = 2.0
contrast=(VALUE self, VALUE contrast)

Set the contrast value.

Example:

  cmod.contrast = 0.8
reset(VALUE self)

Reset the Imlib2::ColorModifier

Example:

  cmod.reset