Module: GDAL::ColorTableTypes::CMYK
- Defined in:
- lib/gdal/color_table_types/cmyk.rb
Instance Method Summary collapse
Instance Method Details
#blacks ⇒ Object
18 19 20 |
# File 'lib/gdal/color_table_types/cmyk.rb', line 18 def blacks color_entries_for(4) end |
#cyans ⇒ Object
6 7 8 |
# File 'lib/gdal/color_table_types/cmyk.rb', line 6 def cyans color_entries_for(1) end |
#magentas ⇒ Object
10 11 12 |
# File 'lib/gdal/color_table_types/cmyk.rb', line 10 def magentas color_entries_for(2) end |
#to_a ⇒ Object
22 23 24 |
# File 'lib/gdal/color_table_types/cmyk.rb', line 22 def to_a NMatrix[cyans, magentas, yellows, blacks].transpose.to_a end |
#yellows ⇒ Object
14 15 16 |
# File 'lib/gdal/color_table_types/cmyk.rb', line 14 def yellows color_entries_for(3) end |