Module: RawImage::Colors
Instance Method Summary collapse
- #black ⇒ Object
- #gray ⇒ Object (also: #grey)
- #transparent ⇒ Object
- #white ⇒ Object
Instance Method Details
#black ⇒ Object
3 |
# File 'lib/raw_image/colors.rb', line 3 def black; Color.new(0.0); end |
#gray ⇒ Object Also known as: grey
5 |
# File 'lib/raw_image/colors.rb', line 5 def gray; Color.new(0.5); end |
#transparent ⇒ Object
8 |
# File 'lib/raw_image/colors.rb', line 8 def transparent; Color.new(0, 0, 0, 0); end |
#white ⇒ Object
4 |
# File 'lib/raw_image/colors.rb', line 4 def white; Color.new(1.0); end |