(self, c, strokeWidth=None)
| 306 | cmykFill = fill |
| 307 | |
| 308 | def stroke(self, c, strokeWidth=None): |
| 309 | |
| 310 | if c is noColor: |
| 311 | self._svgStroke = 'none' |
| 312 | else: |
| 313 | c = color(c) |
| 314 | r, g, b = c.rgb |
| 315 | self._svgStroke = self.b.rgb(100*r, 100*g, 100*b, '%') |
| 316 | |
| 317 | self._strokeWidth = upt(strokeWidth or pt(1)) |
| 318 | |
| 319 | setStrokeColor = stroke |
| 320 | cmykStroke = stroke |
no test coverage detected