org.apache.xmlgraphics.java2d.color
Class DefaultColorConverter
java.lang.Object
org.apache.xmlgraphics.java2d.color.DefaultColorConverter
- All Implemented Interfaces:
- ColorConverter
public final class DefaultColorConverter
- extends Object
- implements ColorConverter
A default implementation that does not apply any conversion
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static DefaultColorConverter getInstance()
- static factory
- Returns:
- singleton instance of DefaultColorConverter
convert
public Color convert(Color color)
-
- Specified by:
convert
in interface ColorConverter
- Parameters:
color
- to convert
- Returns:
- converted color
Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.