"DTD/xhtml1-strict.dtd">
Class Imlib2::Color::HsvaColor
In: ./imlib2.c
Methods
a    a=    alpha    alpha=    h    h=    hue    hue=    initialize    new    s    s=    saturation    saturation=    v    v=    value    value=   
Public Class methods
new(int argc, VALUE *argv, VALUE klass)

Returns a new Imlib2::Color::HsvaColor.

Examples:

  h, s, v, a = 255, 0, 0, 255
  border = Imlib2::Color::HsvaColor.new h, s, v, a

  values = [255, 0, 0, 255]
  border = Imlib2::Color::HsvaColor.new values
Public Instance methods
initialize(int argc, VALUE *argv, VALUE self)

Imlib2::Color::HsvaColor constructor.

Parameters are identical to Imlib2::Color::HsvaColor::new.

h(VALUE self)

Get the hue element of a HsvaColor object.

Examples:

  amount = color.hue
  amount = color.h
h=(VALUE self, VALUE val)

Set the hue element of a HsvaColor object.

Examples:

  color.hue = 255
  color.h = 255
hue(VALUE self)

Get the hue element of a HsvaColor object.

Examples:

  amount = color.hue
  amount = color.h
hue=(VALUE self, VALUE val)

Set the hue element of a HsvaColor object.

Examples:

  color.hue = 255
  color.h = 255
s(VALUE self)

Get the saturation element of a HsvaColor object.

Examples:

  amount = color.saturation
  amount = color.s
s=(VALUE self, VALUE val)

Set the saturation element of a HsvaColor object.

Examples:

  color.saturation = 255
  color.s = 255
saturation(VALUE self)

Get the saturation element of a HsvaColor object.

Examples:

  amount = color.saturation
  amount = color.s
saturation=(VALUE self, VALUE val)

Set the saturation element of a HsvaColor object.

Examples:

  color.saturation = 255
  color.s = 255
v(VALUE self)

Get the value element of a HsvaColor object.

Examples:

  amount = color.value
  amount = color.v
v=(VALUE self, VALUE val)

Set the value element of a HsvaColor object.

Examples:

  color.value = 255
  color.v = 255
value(VALUE self)

Get the value element of a HsvaColor object.

Examples:

  amount = color.value
  amount = color.v
value=(VALUE self, VALUE val)

Set the value element of a HsvaColor object.

Examples:

  color.value = 255
  color.v = 255
a(VALUE self)

Get the alpha element of a HsvaColor object.

Examples:

  amount = color.alpha
  amount = color.a
a=(VALUE self, VALUE val)

Set the alpha element of a HsvaColor object.

Examples:

  color.alpha = 255
  color.a = 255
alpha(VALUE self)

Get the alpha element of a HsvaColor object.

Examples:

  amount = color.alpha
  amount = color.a
alpha=(VALUE self, VALUE val)

Set the alpha element of a HsvaColor object.

Examples:

  color.alpha = 255
  color.a = 255