swh:1:snp:ec9123555d9a820c2a2c639b94d28734563df6e0
Raw File
Tip revision: 3c54dfc84e4b918bed806c353c219efea04e14b1 authored by Achim Zeileis on 30 September 2013, 00:00:00 UTC
version 1.2-4
Tip revision: 3c54dfc
NAMESPACE
useDynLib("colorspace")

import("methods")
importFrom("graphics", "plot")

exportClasses("color", "RGB", "sRGB", "HSV", "HLS", "XYZ", "LAB", "polarLAB", "LUV", "polarLUV")

export(
  ## colorspaces
  "RGB",
  "sRGB",
  "HSV",
  "HLS",
  "XYZ",
  "LAB",
  "polarLAB",
  "LUV",
  "polarLUV",

  ## utilities
  "mixcolor",
  "coords",
  
  "hex",
  "hex2RGB",
  "readRGB",
  "readhex",
  "writehex",

  ## palettes
  "rainbow_hcl",
  "diverge_hcl",
  "diverge_hsv",
  "heat_hcl",
  "sequential_hcl",
  "terrain_hcl",

  ## palette utilities
  "choose_palette",
  "desaturate"
)

exportMethods("[", "coerce", "coords", "plot", "show")
back to top