rdkit.Chem.Draw.spingCanvas module — The RDKit 2016.09.1 documentation

# rdkit.Chem.Draw.spingCanvas module

class `rdkit.Chem.Draw.spingCanvas.` `Canvas`(size, name, imageType='png')

  Bases: `rdkit.Chem.Draw.canvasbase.CanvasBase`

  `addCanvasDashedWedge`(p1, p2, p3, dash=(2, 2), color=(0, 0, 0), color2=None, **kwargs)
  `addCanvasLine`(p1, p2, color=(0, 0, 0), color2=None, **kwargs)
  `addCanvasPolygon`(ps, color=(0, 0, 0), fill=True, stroke=False, **kwargs)
  `addCanvasText`(text, pos, font, color=(0, 0, 0), **kwargs)
  `flush`()
  `save`()

`rdkit.Chem.Draw.spingCanvas.` `convertColor`(color)