OEAddHighlightOverlay
OEAddHighlightOverlay(disp: OE2DMolDisplay,
highlight: OEHighlightOverlayBase,
matches: OEMatchBaseIter) -> None
OEAddHighlightOverlay(disp: OE2DMolDisplay,
highlight: OEHighlightOverlayBase,
absets: OEAtomBondSetIter) -> None
OEAddHighlightOverlay(disp: OE2DMolDisplay,
highlight: OEHighlightOverlayBase,
absets: OEAtomBondSetVector) -> None
Highlights a set of atoms and/or bonds of the displayed molecule.
Parameters :
- disp
The OE2DMolDisplay object of which atoms add/or bonds being highlighted.
- highlight
The OEHighlightOverlayBase object that specifies the style of the highlighting.
- matches
The iterator of OEMatchBase objects of which target atoms and bonds being highlighted.
- absets
The iterator of OEAtomBondSet objects of which atoms and bonds being highlighted.
Note
Each pattern will be highlighted with a different color returned by the
OEHighlightOverlayBase.GetColors method.
See also
OEHighlightOverlayBase class
OEHighlightOverlayStylenamespaceHighlighting Overlapped Patterns section