"DTD/xhtml1-strict.dtd">
Class Imlib2::Color::CmyaColor
|
|
Returns a new Imlib2::Color::CmyaColor.
Examples:
c, m, y, a = 255, 0, 0, 255
border = Imlib2::Color::CmyaColor.new c, m, y, a
values = [255, 0, 0, 255]
border = Imlib2::Color::CmyaColor.new values
Get the cyan element of a CmyaColor object.
Examples:
amount = color.cyan
amount = color.c
Set the cyan element of a CmyaColor object.
Examples:
color.cyan = 255
color.c = 255
Get the cyan element of a CmyaColor object.
Examples:
amount = color.cyan
amount = color.c
Set the cyan element of a CmyaColor object.
Examples:
color.cyan = 255
color.c = 255
Get the magenta element of a CmyaColor object.
Examples:
amount = color.magenta
amount = color.m
Set the magenta element of a CmyaColor object.
Examples:
color.magenta = 255
color.m = 255
Get the magenta element of a CmyaColor object.
Examples:
amount = color.magenta
amount = color.m
Set the magenta element of a CmyaColor object.
Examples:
color.magenta = 255
color.m = 255
Get the yellow element of a CmyaColor object.
Examples:
amount = color.yellow
amount = color.y
Set the yellow element of a CmyaColor object.
Examples:
color.yellow = 255
color.y = 255
Get the yellow element of a CmyaColor object.
Examples:
amount = color.yellow
amount = color.y
Set the yellow element of a CmyaColor object.
Examples:
color.yellow = 255
color.y = 255
Get the alpha element of a CmyaColor object.
Examples:
amount = color.alpha
amount = color.a
Set the alpha element of a CmyaColor object.
Examples:
color.alpha = 255
color.a = 255
Get the alpha element of a CmyaColor object.
Examples:
amount = color.alpha
amount = color.a
Set the alpha element of a CmyaColor object.
Examples:
color.alpha = 255
color.a = 255