Method: Color::CMYK#yellow=
- Defined in:
- lib/color/cmyk.rb
permalink #yellow=(yy) ⇒ Object
Sets the yellow (Y) component of the CMYK colour as a percentage value.
220 221 222 |
# File 'lib/color/cmyk.rb', line 220 def yellow=(yy) @y = Color.normalize(yy / 100.0) end |