|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.color.NoColorConverter
This implementation of a color converter does no conversions at all. It is a dummy which forces that colors are always given in the target color space.
Constructor Summary | |
NoColorConverter()
Creates a new object. |
Method Summary | |
CmykColor |
toCmyk(Color color)
Convert an arbitrary color to the CMYK model. |
GrayscaleColor |
toGrayscale(Color color)
Convert an arbitrary color to the RGB model. |
HsvColor |
toHsv(Color color)
Convert an arbitrary color to the HSV model. |
RgbColor |
toRgb(Color color)
Convert an arbitrary color to the RGB model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NoColorConverter()
Method Detail |
public CmykColor toCmyk(Color color)
null
is returned.
toCmyk
in interface ColorConverter
color
- the color to convert
null
if a conversion is not supported.ColorConverter.toCmyk(
de.dante.extex.interpreter.context.Color)
public GrayscaleColor toGrayscale(Color color)
null
is returned.
toGrayscale
in interface ColorConverter
color
- the color to convert
null
if
a conversion is not supported.ColorConverter.toGrayscale(
de.dante.extex.interpreter.context.Color)
public HsvColor toHsv(Color color)
null
is returned.
toHsv
in interface ColorConverter
color
- the color to convert
null
if
a conversion is not supported.ColorConverter.toHsv(
de.dante.extex.interpreter.context.Color)
public RgbColor toRgb(Color color)
null
is returned.
toRgb
in interface ColorConverter
color
- the color to convert
null
if
a conversion is not supported.ColorConverter.toRgb(
de.dante.extex.interpreter.context.Color)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |