public final class SelectionVisibility extends SymbolVisibility
StandardGenerator.HIGHLIGHT_COLOR is non-null.| Modifier and Type | Method and Description |
|---|---|
static SymbolVisibility |
all(SymbolVisibility visibility)
Display the atom symbol if is selected, otherwise use the provided visibility.
|
static SymbolVisibility |
disconnected(SymbolVisibility visibility)
Display the atom symbol if is disconnected from any other selected atoms or bonds.
|
boolean |
visible(IAtom atom,
List<IBond> neighbors,
RendererModel model)
Determine if an atom with the specified bonds is visible.
|
all, iupacRecommendations, iupacRecommendationsWithoutTerminalCarbonpublic static SymbolVisibility disconnected(SymbolVisibility visibility)
visibility - visibility when not selectedpublic static SymbolVisibility all(SymbolVisibility visibility)
visibility - visibility when not selectedpublic boolean visible(IAtom atom, List<IBond> neighbors, RendererModel model)
visible in class SymbolVisibilityatom - an atomneighbors - neighboring bondsCopyright © 2021. All rights reserved.