Method: Chroma::ColorModes::Rgb#initialize
- Defined in:
- lib/chroma/color_modes.rb
#initialize(r, g, b, a = 1) ⇒ Rgb
8 9 10 |
# File 'lib/chroma/color_modes.rb', line 8 def initialize(r, g, b, a = 1) @r, @g, @b, @a = r, g, b, a end |
8 9 10 |
# File 'lib/chroma/color_modes.rb', line 8 def initialize(r, g, b, a = 1) @r, @g, @b, @a = r, g, b, a end |