| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
MolDraw2D
Drawer abstract base class
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
DrawMolecule( (MolDraw2D)self, (Mol)mol [, (AtomPairsParameters)highlightAtoms=None [, (AtomPairsParameters)highlightAtomColors=None [, (AtomPairsParameters)highlightAtomRadii=None [, (int)confId=-1 [, (str)legend='']]]]]) -> None :
renders a molecule
C++ signature :
void DrawMolecule(RDKit::MolDraw2D {lvalue},RDKit::ROMol [,boost::python::api::object=None [,boost::python::api::object=None [,boost::python::api::object=None [,int=-1 [,std::string='']]]]])
DrawMolecule( (MolDraw2D)self, (Mol)mol, (AtomPairsParameters)highlightAtoms, (AtomPairsParameters)highlightBonds [, (AtomPairsParameters)highlightAtomColors=None [, (AtomPairsParameters)highlightBondColors=None [, (AtomPairsParameters)highlightAtomRadii=None [, (int)confId=-1 [, (str)legend='']]]]]) -> None :
renders a molecule
C++ signature :
void DrawMolecule(RDKit::MolDraw2D {lvalue},RDKit::ROMol,boost::python::api::object,boost::python::api::object [,boost::python::api::object=None [,boost::python::api::object=None [,boost::python::api::object=None [,int=-1 [,std::string='']]]]])
|
DrawMolecules( (MolDraw2D)self, (AtomPairsParameters)mols [, (AtomPairsParameters)highlightAtoms=None [, (AtomPairsParameters)highlightBonds=None [, (AtomPairsParameters)highlightAtomColors=None [, (AtomPairsParameters)highlightBondColors=None [, (AtomPairsParameters)highlightAtomRadii=None [, (AtomPairsParameters)confIds=None [, (AtomPairsParameters)legends=None]]]]]]]) -> None :
renders multiple molecules
C++ signature :
void DrawMolecules(RDKit::MolDraw2D {lvalue},boost::python::api::object [,boost::python::api::object=None [,boost::python::api::object=None [,boost::python::api::object=None [,boost::python::api::object=None [,boost::python::api::object=None [,boost::python::api::object=None [,boost::python::api::object=None]]]]]]])
|
DrawReaction( (MolDraw2D)self, (ChemicalReaction)rxn [, (bool)highlightByReactant=False [, (AtomPairsParameters)highlightColorsReactants=None [, (AtomPairsParameters)confIds=None]]]) -> None :
renders a reaction
C++ signature :
void DrawReaction(RDKit::MolDraw2D {lvalue},RDKit::ChemicalReaction [,bool=False [,boost::python::api::object=None [,boost::python::api::object=None]]])
|
DrawString( (MolDraw2D)self, (str)string, (Point2D)pos) -> None :
add text to the canvas
C++ signature :
void DrawString(RDKit::MolDraw2D {lvalue},std::string,RDGeom::Point2D)
|
FontSize( (MolDraw2D)arg1) -> float :
get the default font size
C++ signature :
double FontSize(RDKit::MolDraw2D {lvalue})
|
GetDrawCoords( (MolDraw2D)self, (Point2D)point) -> Point2D :
get the coordinates in drawing space for a particular point in molecule space
C++ signature :
RDGeom::Point2D GetDrawCoords(RDKit::MolDraw2D {lvalue},RDGeom::Point2D)
GetDrawCoords( (MolDraw2D)self, (int)atomIndex) -> Point2D :
get the coordinates in drawing space for a particular atom
C++ signature :
RDGeom::Point2D GetDrawCoords(RDKit::MolDraw2D {lvalue},int)
|
Height( (MolDraw2D)arg1) -> int :
get the height of the drawing canvas
C++ signature :
int Height(RDKit::MolDraw2D {lvalue})
|
Offset( (MolDraw2D)arg1) -> Point2D :
returns the offset (in drawing coordinates) for the drawing
C++ signature :
RDGeom::Point2D Offset(RDKit::MolDraw2D {lvalue})
|
SetFontSize( (MolDraw2D)arg1, (float)arg2) -> None :
change the default font size
C++ signature :
void SetFontSize(RDKit::MolDraw2D {lvalue},double)
|
SetOffset( (MolDraw2D)arg1, (int)arg2, (int)arg3) -> None :
set the offset (in drawing coordinates) for the drawing
C++ signature :
void SetOffset(RDKit::MolDraw2D {lvalue},int,int)
|
SetScale( (MolDraw2D)arg1, (int)arg2, (int)arg3, (Point2D)arg4, (Point2D)arg5) -> None :
uses the values provided to set the drawing scaling
C++ signature :
void SetScale(RDKit::MolDraw2D {lvalue},int,int,RDGeom::Point2D,RDGeom::Point2D)
|
Width( (MolDraw2D)arg1) -> int :
get the width of the drawing canvas
C++ signature :
int Width(RDKit::MolDraw2D {lvalue})
|
Raises an exception This class cannot be instantiated from Python
|
helper for pickle
|
drawOptions( (MolDraw2D)arg1) -> MolDrawOptions :
Returns a modifiable version of the current drawing options
C++ signature :
RDKit::MolDrawOptions {lvalue} drawOptions(RDKit::MolDraw2D {lvalue})
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Oct 8 11:32:01 2017 | http://epydoc.sourceforge.net |