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

# rdkit.Chem.Draw.cairoCanvas module

class `rdkit.Chem.Draw.cairoCanvas.` `Canvas`(image=None, size=None, ctx=None, imageType=None, fileName=None)

  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)
  `addCircle`(center, radius, color=(0, 0, 0), fill=True, stroke=False, alpha=1.0, **kwargs)
  `flush`()

    temporary interface, must be splitted to different methods,