"DTD/xhtml1-strict.dtd">
Class Imlib2::Color::HsvaColor
|
|
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
Get the hue element of a HsvaColor object.
Examples:
amount = color.hue
amount = color.h
Set the hue element of a HsvaColor object.
Examples:
color.hue = 255
color.h = 255
Get the hue element of a HsvaColor object.
Examples:
amount = color.hue
amount = color.h
Set the hue element of a HsvaColor object.
Examples:
color.hue = 255
color.h = 255
Get the saturation element of a HsvaColor
object.
Examples:
amount = color.saturation
amount = color.s
Set the saturation element of a HsvaColor
object.
Examples:
color.saturation = 255
color.s = 255
Get the saturation element of a HsvaColor
object.
Examples:
amount = color.saturation
amount = color.s
Set the saturation element of a HsvaColor
object.
Examples:
color.saturation = 255
color.s = 255
Get the value element of a HsvaColor object.
Examples:
amount = color.value
amount = color.v
Set the value element of a HsvaColor object.
Examples:
color.value = 255
color.v = 255
Get the value element of a HsvaColor object.
Examples:
amount = color.value
amount = color.v
Set the value element of a HsvaColor object.
Examples:
color.value = 255
color.v = 255
Get the alpha element of a HsvaColor object.
Examples:
amount = color.alpha
amount = color.a
Set the alpha element of a HsvaColor object.
Examples:
color.alpha = 255
color.a = 255
Get the alpha element of a HsvaColor object.
Examples:
amount = color.alpha
amount = color.a
Set the alpha element of a HsvaColor object.
Examples:
color.alpha = 255
color.a = 255