Method: Color::CMYK#cyan=
- Defined in:
- lib/color/cmyk.rb
permalink #cyan=(cc) ⇒ Object
Sets the cyan © component of the CMYK colour as a percentage value.
180 181 182 |
# File 'lib/color/cmyk.rb', line 180 def cyan=(cc) @c = Color.normalize(cc / 100.0) end |