JmolColors provides more comprehensive color pallet for 3D@Deprecated public class CDKAtomColors extends Object implements IAtomColorer
| Constructor and Description |
|---|
CDKAtomColors()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
getAtomColor(IAtom atom)
Deprecated.
Returns the CDK scheme color for the given atom's element.
|
Color |
getAtomColor(IAtom atom,
Color defaultColor)
Deprecated.
Returns the CDK scheme color for the given atom's element, or
defaults to the given color if no color is defined.
|
public Color getAtomColor(IAtom atom)
getAtomColor in interface IAtomColoreratom - IAtom to get a color forpublic Color getAtomColor(IAtom atom, Color defaultColor)
getAtomColor in interface IAtomColoreratom - IAtom to get a color fordefaultColor - Color returned if this scheme does not define
a color for the passed IAtomCopyright © 2021. All rights reserved.