Method: Clutter::Color.pixel
- Defined in:
- lib/clutter/color.rb
.pixel(pixel) ⇒ Object
59 60 61 62 63 64 65 66 67 |
# File 'lib/clutter/color.rb', line 59 def pixel(pixel) if respond_to?(:from_pixel, true) color = from_pixel(pixel) else color = new color.from_pixel(pixel) end color end |