"DTD/xhtml1-strict.dtd">
Class Imlib2::Color::CmyaColor
In: ./imlib2.c
Methods
a    a=    alpha    alpha=    c    c=    cyan    cyan=    initialize    m    m=    magenta    magenta=    new    y    y=    yellow    yellow=   
Public Class methods
new(int argc, VALUE *argv, VALUE klass)

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
Public Instance methods
initialize(int argc, VALUE *argv, VALUE self)

Imlib2::Color::CmyaColor constructor.

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

c(VALUE self)

Get the cyan element of a CmyaColor object.

Examples:

  amount = color.cyan
  amount = color.c
c=(VALUE self, VALUE val)

Set the cyan element of a CmyaColor object.

Examples:

  color.cyan = 255
  color.c = 255
cyan(VALUE self)

Get the cyan element of a CmyaColor object.

Examples:

  amount = color.cyan
  amount = color.c
cyan=(VALUE self, VALUE val)

Set the cyan element of a CmyaColor object.

Examples:

  color.cyan = 255
  color.c = 255
m(VALUE self)

Get the magenta element of a CmyaColor object.

Examples:

  amount = color.magenta
  amount = color.m
m=(VALUE self, VALUE val)

Set the magenta element of a CmyaColor object.

Examples:

  color.magenta = 255
  color.m = 255
magenta(VALUE self)

Get the magenta element of a CmyaColor object.

Examples:

  amount = color.magenta
  amount = color.m
magenta=(VALUE self, VALUE val)

Set the magenta element of a CmyaColor object.

Examples:

  color.magenta = 255
  color.m = 255
y(VALUE self)

Get the yellow element of a CmyaColor object.

Examples:

  amount = color.yellow
  amount = color.y
y=(VALUE self, VALUE val)

Set the yellow element of a CmyaColor object.

Examples:

  color.yellow = 255
  color.y = 255
yellow(VALUE self)

Get the yellow element of a CmyaColor object.

Examples:

  amount = color.yellow
  amount = color.y
yellow=(VALUE self, VALUE val)

Set the yellow element of a CmyaColor object.

Examples:

  color.yellow = 255
  color.y = 255
a(VALUE self)

Get the alpha element of a CmyaColor object.

Examples:

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

Set the alpha element of a CmyaColor object.

Examples:

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

Get the alpha element of a CmyaColor object.

Examples:

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

Set the alpha element of a CmyaColor object.

Examples:

  color.alpha = 255
  color.a = 255