module GDAL::ColorTableTypes::CMYK

Public Instance Methods

blacks() click to toggle source
# File lib/gdal/color_table_types/cmyk.rb, line 18
def blacks
  color_entries_for(4)
end
cyans() click to toggle source
# File lib/gdal/color_table_types/cmyk.rb, line 6
def cyans
  color_entries_for(1)
end
magentas() click to toggle source
# File lib/gdal/color_table_types/cmyk.rb, line 10
def magentas
  color_entries_for(2)
end
to_a() click to toggle source
# File lib/gdal/color_table_types/cmyk.rb, line 22
def to_a
  NMatrix[cyans, magentas, yellows, blacks].transpose.to_a
end
yellows() click to toggle source
# File lib/gdal/color_table_types/cmyk.rb, line 14
def yellows
  color_entries_for(3)
end