Package rdkit :: Package Chem :: Package Draw :: Module rdMolDraw2D :: Class MolDrawOptions
[hide private]
[frames] | no frames]

Class MolDrawOptions

 object --+    
          |    
??.instance --+
              |
             MolDrawOptions

Drawing options

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
getBackgroundColour(...)
getBackgroundColour( (MolDrawOptions)arg1) -> object : method returning the background colour
 
getHighlightColour(...)
getHighlightColour( (MolDrawOptions)arg1) -> object : method returning the highlight colour
 
setAtomPalette(...)
setAtomPalette( (MolDrawOptions)arg1, (AtomPairsParameters)arg2) -> None : sets the palette for atoms and bonds from a dictionary mapping ints to 3-tuples
 
setBackgroundColour(...)
setBackgroundColour( (MolDrawOptions)arg1, (tuple)arg2) -> None : method for setting the background colour
 
setHighlightColour(...)
setHighlightColour( (MolDrawOptions)arg1, (tuple)arg2) -> None : method for setting the highlight colour
 
updateAtomPalette(...)
updateAtomPalette( (MolDrawOptions)arg1, (AtomPairsParameters)arg2) -> None : updates the palette for atoms and bonds from a dictionary mapping ints to 3-tuples
 
useBWAtomPalette(...)
useBWAtomPalette( (MolDrawOptions)arg1) -> None : use the black & white palette for atoms and bonds
 
useDefaultAtomPalette(...)
useDefaultAtomPalette( (MolDrawOptions)arg1) -> None : use the default colour palette for atoms and bonds

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 256
Properties [hide private]
  additionalAtomLabelPadding
additional padding to leave around atom labels.
  atomLabelDeuteriumTritium
labels deuterium as D and tritium as T
  atomLabels
maps indices to atom labels
  atomRegions
regions to outline
  circleAtoms
  clearBackground
clear the background before drawing a molecule
  continuousHighlight
  dummiesAreAttachments
  fillHighlights
  flagCloseContactsDist
  includeAtomTags
include atom tags in output
  legendFontSize
font size in pixels of the legend (if drawn)
  multipleBondOffset
offset (in Angstroms) for the extra lines in a multiple bond
  padding
fraction of empty space to leave around molecule

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

Overrides: object.__init__

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

getBackgroundColour(...)

 

getBackgroundColour( (MolDrawOptions)arg1) -> object :
    method returning the background colour

    C++ signature :
        boost::python::api::object getBackgroundColour(RDKit::MolDrawOptions)

getHighlightColour(...)

 

getHighlightColour( (MolDrawOptions)arg1) -> object :
    method returning the highlight colour

    C++ signature :
        boost::python::api::object getHighlightColour(RDKit::MolDrawOptions)

setAtomPalette(...)

 

setAtomPalette( (MolDrawOptions)arg1, (AtomPairsParameters)arg2) -> None :
    sets the palette for atoms and bonds from a dictionary mapping ints to 3-tuples

    C++ signature :
        void setAtomPalette(RDKit::MolDrawOptions {lvalue},boost::python::api::object)

setBackgroundColour(...)

 

setBackgroundColour( (MolDrawOptions)arg1, (tuple)arg2) -> None :
    method for setting the background colour

    C++ signature :
        void setBackgroundColour(RDKit::MolDrawOptions {lvalue},boost::python::tuple)

setHighlightColour(...)

 

setHighlightColour( (MolDrawOptions)arg1, (tuple)arg2) -> None :
    method for setting the highlight colour

    C++ signature :
        void setHighlightColour(RDKit::MolDrawOptions {lvalue},boost::python::tuple)

updateAtomPalette(...)

 

updateAtomPalette( (MolDrawOptions)arg1, (AtomPairsParameters)arg2) -> None :
    updates the palette for atoms and bonds from a dictionary mapping ints to 3-tuples

    C++ signature :
        void updateAtomPalette(RDKit::MolDrawOptions {lvalue},boost::python::api::object)

useBWAtomPalette(...)

 

useBWAtomPalette( (MolDrawOptions)arg1) -> None :
    use the black & white palette for atoms and bonds

    C++ signature :
        void useBWAtomPalette(RDKit::MolDrawOptions {lvalue})

useDefaultAtomPalette(...)

 

useDefaultAtomPalette( (MolDrawOptions)arg1) -> None :
    use the default colour palette for atoms and bonds

    C++ signature :
        void useDefaultAtomPalette(RDKit::MolDrawOptions {lvalue})


Property Details [hide private]

additionalAtomLabelPadding

additional padding to leave around atom labels. Expressed as a fraction of the font size.

Get Method:
unreachable(...)
Set Method:
unreachable(...)

atomLabelDeuteriumTritium

labels deuterium as D and tritium as T

Get Method:
unreachable(...)
Set Method:
unreachable(...)

atomLabels

maps indices to atom labels

Get Method:
unreachable(...)
Set Method:
unreachable(...)

atomRegions

regions to outline

Get Method:
unreachable(...)
Set Method:
unreachable(...)

circleAtoms

Get Method:
unreachable(...)
Set Method:
unreachable(...)

clearBackground

clear the background before drawing a molecule

Get Method:
unreachable(...)
Set Method:
unreachable(...)

continuousHighlight

Get Method:
unreachable(...)
Set Method:
unreachable(...)

dummiesAreAttachments

Get Method:
unreachable(...)
Set Method:
unreachable(...)

fillHighlights

Get Method:
unreachable(...)
Set Method:
unreachable(...)

flagCloseContactsDist

Get Method:
unreachable(...)
Set Method:
unreachable(...)

includeAtomTags

include atom tags in output

Get Method:
unreachable(...)
Set Method:
unreachable(...)

legendFontSize

font size in pixels of the legend (if drawn)

Get Method:
unreachable(...)
Set Method:
unreachable(...)

multipleBondOffset

offset (in Angstroms) for the extra lines in a multiple bond

Get Method:
unreachable(...)
Set Method:
unreachable(...)

padding

fraction of empty space to leave around molecule

Get Method:
unreachable(...)
Set Method:
unreachable(...)