|
S-PLUS Connect/Java v1.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.insightful.gdevice.ColorScheme
com.insightful.gdevice.ColorScheme.PDFColorScheme
public static class ColorScheme.PDFColorScheme
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.insightful.gdevice.ColorScheme |
|---|
ColorScheme.PDFColorScheme |
| Field Summary |
|---|
| Fields inherited from class com.insightful.gdevice.ColorScheme |
|---|
m_name, NUMBER_IMAGE_COLORS |
| Constructor Summary | |
|---|---|
ColorScheme.PDFColorScheme(boolean isGrayscale,
int[] colormap,
int[] linecolors,
int[] textcolors,
int[] polygoncolors,
int[] imagecolors,
int backgroundcolor)
|
|
ColorScheme.PDFColorScheme(Color[] colormapColors,
int[] linecolors,
int[] textcolors,
int[] polygoncolors,
int[] imagecolors,
int backgroundcolor)
|
|
| Method Summary | |
|---|---|
Color |
getBackgroundColor()
Returns the background color. |
Color |
getImageColor(int index)
Returns the image color of the given index. |
IndexColorModel |
getImageIndexColorModel()
Creates a 256-color IndexColorModel representing the image colors. |
Color |
getLineColor(int index)
Return color for drawing lines, given color int. |
Color |
getPaletteColor(int index)
Returns the palette color of the given index. |
Color |
getPolygonColor(int index)
Return color for drawing polygons, given color int. |
Color |
getTextColor(int index)
Return color for drawing text, given color int. |
boolean |
isPDF()
returns true if this is a pdf-style colorscheme, so we don't use weird image colors for polygon. |
| Methods inherited from class com.insightful.gdevice.ColorScheme |
|---|
createFromXML, getImageColors, getInts, getName, getPalette, getPaletteColorLabels, getPaletteColors, writeXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorScheme.PDFColorScheme(Color[] colormapColors,
int[] linecolors,
int[] textcolors,
int[] polygoncolors,
int[] imagecolors,
int backgroundcolor)
public ColorScheme.PDFColorScheme(boolean isGrayscale,
int[] colormap,
int[] linecolors,
int[] textcolors,
int[] polygoncolors,
int[] imagecolors,
int backgroundcolor)
| Method Detail |
|---|
public Color getBackgroundColor()
getBackgroundColor in class ColorSchemepublic boolean isPDF()
isPDF in class ColorSchemepublic Color getLineColor(int index)
getLineColor in class ColorSchemepublic Color getTextColor(int index)
getTextColor in class ColorSchemepublic Color getPolygonColor(int index)
getPolygonColor in class ColorSchemepublic Color getPaletteColor(int index)
ColorScheme
getPaletteColor in class ColorSchemeindex - index of the color in the palette.
public Color getImageColor(int index)
ColorScheme
getImageColor in class ColorSchemeindex - index of the color in the image color array.
public IndexColorModel getImageIndexColorModel()
getImageIndexColorModel in class ColorScheme
|
S-PLUS Connect/Java v1.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||