Class: Imlib2::Filter

# Imlib2::Filter (Class)

In: | imlib2.c
Parent: | Object

## Methods

alpha blue constants divisors green new new red set set_alpha set_blue set_green set_red

## Public Class methods

new(p1)

Constructor for Imlib2::Filter

Currently just a placeholder.

new(p1)

Return a new Imlib2::Filter

Example:

      filter = Imlib2::Filter.new

## Public Instance methods

alpha(...)

Set the alpha filter color value and x, y

Example:

      filter.set_alpha x, y, Imlib2::Color::RgbaColor.new 0, 0, 0, 128

blue(...)

Set the blue filter color value and x, y

Example:

      filter.set_blue x, y, Imlib2::Color::RgbaColor.new 0, 0, 64, 128

constants(p1)

Set filter constants.

Example:

      filter.set_constants RgbaColor.new 32, 32, 32, 32

divisors(p1)

Set filter divisors.

Example:

      filter.set_divisors RgbaColor.new 0, 32, 0, 32

green(...)

Set the green filter color value and x, y

Example:

      filter.set_green x, y, Imlib2::Color::RgbaColor.new 0, 128, 0, 128

red(...)
set(...)

Set the filter color value and x, y

Example:

      filter.set x, y, Imlib2::Color::RED

set_alpha(...)

Set the alpha filter color value and x, y

Example:

      filter.set_alpha x, y, Imlib2::Color::RgbaColor.new 0, 0, 0, 128

set_blue(...)

Set the blue filter color value and x, y

Example:

      filter.set_blue x, y, Imlib2::Color::RgbaColor.new 0, 0, 64, 128

set_green(...)

Set the green filter color value and x, y

Example:

      filter.set_green x, y, Imlib2::Color::RgbaColor.new 0, 128, 0, 128

set_red(...)

[Validate]