Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 1.5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Method Summary
`Color` | `convert(Color color)`
`static DefaultColorConverter` | `getInstance()` static factory

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 1.5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.