(self, canv)
| 812 | self.lineWidth=0 |
| 813 | |
| 814 | def drawOn(self, canv): |
| 815 | canv.saveState() |
| 816 | canv.setLineWidth(self.lineWidth) |
| 817 | if self.strokeColor: |
| 818 | r,g,b = checkColor(self.strokeColor) |
| 819 | canv.setStrokeColorRGB(r,g,b) |
| 820 | if self.fillColor: |
| 821 | r,g,b = checkColor(self.fillColor) |
| 822 | canv.setFillColorRGB(r,g,b) |
| 823 | canv.ellipse(self.x1, self.y1, self.x2, self.y2, |
| 824 | stroke=(self.strokeColor<>None), |
| 825 | fill = (self.fillColor<>None) |
| 826 | ) |
| 827 | canv.restoreState() |
| 828 | |
| 829 | |
| 830 | class PPPolygon: |
nothing calls this directly
no test coverage detected