|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.color.NoColorConverter
public class 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 ColorConvertercolor - the color to convert
null
if a conversion is not supported.ColorConverter.toCmyk(
org.extex.color.Color)public GrayscaleColor toGrayscale(Color color)
null is returned.
toGrayscale in interface ColorConvertercolor - the color to convert
null if
a conversion is not supported.ColorConverter.toGrayscale(
org.extex.color.Color)public HsvColor toHsv(Color color)
null is returned.
toHsv in interface ColorConvertercolor - the color to convert
null if
a conversion is not supported.ColorConverter.toHsv(
org.extex.color.Color)public RgbColor toRgb(Color color)
null is returned.
toRgb in interface ColorConvertercolor - the color to convert
null if
a conversion is not supported.ColorConverter.toRgb(
org.extex.color.Color)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||