Draws a line from (x1, y1) to (x2, y2) using the given strok color and stroke width.
(x1, y1, x2, y2, stroke=(0,0,0,1), strokewidth=1)
| 29 | # For drawing, line(), ellipse() and Text.draw() must be either implemented or patched. |
| 30 | |
| 31 | def line(x1, y1, x2, y2, stroke=(0,0,0,1), strokewidth=1): |
| 32 | """ Draws a line from (x1, y1) to (x2, y2) using the given strok color and stroke width. |
| 33 | """ |
| 34 | pass |
| 35 | |
| 36 | def ellipse(x, y, width, height, fill=(0,0,0,1), stroke=None, strokewidth=1): |
| 37 | """ Draws an ellipse at (x, y) with given fill and stroke color and stroke width. |
no outgoing calls
no test coverage detected
searching dependent graphs…