Go to the first, previous, next, last section, table of contents.


The OColor module

open Color

class map : Color.map -> object
  method colormap : Color.map

  method max : int
  method map : rgb array

  method query_rgb : int -> rgb

  method set_max : int -> unit
  method set_map : rgb array -> unit

  method size : int
  method find_exact : rgb -> int
  method find_nearest : rgb -> int
  method add_color : rgb -> int
  method add_colors : rgb list -> int list
end


Go to the first, previous, next, last section, table of contents.