Method: Color::CMYK#magenta=
- Defined in:
- lib/color/cmyk.rb
permalink #magenta=(mm) ⇒ Object
Sets the magenta (M) component of the CMYK colour as a percentage value.
200 201 202 |
# File 'lib/color/cmyk.rb', line 200 def magenta=(mm) @m = Color.normalize(mm / 100.0) end |