Translate Color Scheme Information Between Java and PDF

DESCRIPTION:

Translate color scheme information between the java.graph device and the pdf.graph device.

USAGE:

java.colorscheme.from.pdf.colorspec(colorspec, warn=T)
java.colorscheme.to.pdf.colorspec(colorscheme)

REQUIRED ARGUMENTS:

colorspec
a character string specifying a PDF colorspec object. Required for java.colorscheme.from.pdf.colorspec.
colorscheme
a character string specifying a Java colorscheme object. Required for java.colorscheme.to.pdf.colorspec.

OPTIONAL ARGUMENTS:

warn
a logical flag; if TRUE (the default), Spotfire S+ generates warnings in those situations where an exact translation from the colorspec to the color scheme cannot be done.

VALUE:

For java.colorscheme.from.pdf.colorspec, a Java color scheme with the same colors as the PDF colorspec. There are some situations where an exact translation cannot be done. For example, a PDF colorspec can define different color palettes for text colors and line colors. For java.colorscheme.to.pdf.colorspec, a PDF color spec with the same colors as the Java color scheme.

SIDE EFFECTS:

None.

SEE ALSO:

EXAMPLES:

java.colorscheme.to.pdf.colorspec("java.colorscheme.trellis")