public final class GrayScaleColorConverter extends Object implements ColorConverter
| Modifier and Type | Method and Description |
|---|---|
Color |
convert(Color color)
The color is converted to CMYK with just the K component.
|
static GrayScaleColorConverter |
getInstance()
Returns a singleton instance.
|
public static GrayScaleColorConverter getInstance()
public Color convert(Color color)
convert in interface ColorConvertercolor - to convertCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.