public final class GrayScaleColorConverter extends Object implements ColorConverter
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 ColorConverter
color
- to convertCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.