(self, centerPt, text)
| 706 | class Text(GraphicsObject): |
| 707 | |
| 708 | def __init__(self, centerPt, text): |
| 709 | GraphicsObject.__init__(self, ["justify","fill","text","font"]) |
| 710 | self.setText(text) |
| 711 | self.anchor = centerPt.clone() |
| 712 | self.setFill(DEFAULT_CONFIG['outline']) |
| 713 | self.setOutline = self.setFill |
| 714 | |
| 715 | def _draw(self, canvas, options): |
| 716 | p = self.anchor |