(self, canv)
| 765 | self.lineWidth=0 |
| 766 | |
| 767 | def drawOn(self, canv): |
| 768 | canv.saveState() |
| 769 | canv.setLineWidth(self.lineWidth) |
| 770 | if self.fillColor: |
| 771 | r,g,b = checkColor(self.fillColor) |
| 772 | canv.setFillColorRGB(r,g,b) |
| 773 | if self.strokeColor: |
| 774 | r,g,b = checkColor(self.strokeColor) |
| 775 | canv.setStrokeColorRGB(r,g,b) |
| 776 | canv.roundRect(self.x, self.y, self.width, self.height, |
| 777 | self.radius, |
| 778 | stroke=(self.strokeColor<>None), |
| 779 | fill = (self.fillColor<>None) |
| 780 | ) |
| 781 | canv.restoreState() |
| 782 | |
| 783 | |
| 784 | class PPLine: |
nothing calls this directly
no test coverage detected