Module: GDAL::ColorTableTypes::HLS
- Defined in:
- lib/gdal/color_table_types/hls.rb
Instance Method Summary collapse
Instance Method Details
#hues ⇒ Object
6 7 8 |
# File 'lib/gdal/color_table_types/hls.rb', line 6 def hues color_entries_for(1) end |
#lightnesses ⇒ Object
10 11 12 |
# File 'lib/gdal/color_table_types/hls.rb', line 10 def lightnesses color_entries_for(2) end |
#saturations ⇒ Object
14 15 16 |
# File 'lib/gdal/color_table_types/hls.rb', line 14 def saturations color_entries_for(3) end |
#to_a ⇒ Object
18 19 20 |
# File 'lib/gdal/color_table_types/hls.rb', line 18 def to_a NMatrix[hues, lightnesses, saturations].transpose.to_a end |