Class: Imlib2::ColorModifier

Class | Imlib2::ColorModifier
In: | imlib2.c (CVS)
Parent: | Object

### Methods

brightness= contrast= gamma= new new reset

### Public Class methods

new(...)

Returns a new Imlib2::ColorModifier

Example:

      cmod = Imlib2::ColorModifier.new

new(...)

Imlib2::ColorModifier constructor

This method takes no arguments.

### Public Instance methods

brightness=(p1)

Set the brightness value.

Example:

      cmod.brightness = 2.0

contrast=(p1)

Set the contrast value.

Example:

      cmod.contrast = 0.8

gamma=(p1)

Set the gamma value.

Example:

      cmod.gamma = 0.5

reset()

Reset the Imlib2::ColorModifier

Example:

      cmod.reset

[Validate]