__init__(self,
atom,
marker_color=None,
icon=Icons.NONE,
alt_color=None,
highlight=False)
(Constructor)
|
|
x.__init__(...) initializes x; see help(type(x)) for signature
- Parameters:
atom (schrodinger.structure._StructureAtom) - The atom to mark
marker_color (tuple, str, int, or schrodinger.structutils.color) - The color of the marker. May be an RGB tuple, color name, color
index, or schrodinger.structutils.color instance. If not given,
white will be used.
icon (int) - The icon to draw next to the marker. Should be one the Icons.*
constants. If not given, no icon will be drawn.
alt_color (tuple, str, int, or schrodinger.structutils.color) - The alternate marker color. This color is always used for text,
and is used for the marker and icon when highlight
is True. If not given, color will be used.
highlight (bool) - Whether the marker should be highlighted. A highlighted marker
is indicated with thicker lines and is colored using
alt_color instead of color .
- Overrides:
object.__init__
|