module GDAL::ColorTableTypes::HLS

Public Instance Methods

hues() click to toggle source
# File lib/gdal/color_table_types/hls.rb, line 6
def hues
  color_entries_for(1)
end
lightnesses() click to toggle source
# File lib/gdal/color_table_types/hls.rb, line 10
def lightnesses
  color_entries_for(2)
end
saturations() click to toggle source
# File lib/gdal/color_table_types/hls.rb, line 14
def saturations
  color_entries_for(3)
end
to_a() click to toggle source
# File lib/gdal/color_table_types/hls.rb, line 18
def to_a
  NMatrix[hues, lightnesses, saturations].transpose.to_a
end