Class RGhost::CMYK
In: color.rb
Parent: RGhost::Color

Creates CMYK color space

Methods

new   ps  

Constants

CONSTANTS = RGhost::Constants::Colors::CMYK

Attributes

black  [RW] 
cyan  [RW] 
magenta  [RW] 
yellow  [RW] 

Public Class methods

Hash with 4 pair of key/value. Valids keys :cyan, :magenta, :yellow and :black

  Color.create :cyan=> 1 ,:magenta => 0.3, :yellow => 0, :black => 0

Hash with 4 pair of key/value. Valids keys :c, :m, :y and :b

  Color.create :c=> 1 ,:m => 0.3, :y => 0, :b => 0

Public Instance methods

[Validate]