Method: ColorLib::CMYK#m=

Defined in:
lib/color_lib/cmyk.rb

#m=(mm) ⇒ Object

Sets the magenta (M) component of the CMYK colour as a value in the range 0.0 .. 1.0.



231
232
233
# File 'lib/color_lib/cmyk.rb', line 231

def m=(mm)
  @m = ColorLib.normalize(mm)
end