(self, canv)
| 738 | self.lineWidth=0 |
| 739 | |
| 740 | def drawOn(self, canv): |
| 741 | canv.saveState() |
| 742 | canv.setLineWidth(self.lineWidth) |
| 743 | if self.fillColor: |
| 744 | r,g,b = checkColor(self.fillColor) |
| 745 | canv.setFillColorRGB(r,g,b) |
| 746 | if self.strokeColor: |
| 747 | r,g,b = checkColor(self.strokeColor) |
| 748 | canv.setStrokeColorRGB(r,g,b) |
| 749 | canv.rect(self.x, self.y, self.width, self.height, |
| 750 | stroke=(self.strokeColor<>None), |
| 751 | fill = (self.fillColor<>None) |
| 752 | ) |
| 753 | canv.restoreState() |
| 754 | |
| 755 | |
| 756 | class PPRoundRect: |
nothing calls this directly
no test coverage detected