Sets the fill color. Args: color (str): stroke color
(self, color='black')
| 18 | self.attributes['stroke-width'] = str(width) |
| 19 | |
| 20 | def set_fill(self, color='black'): |
| 21 | """Sets the fill color. |
| 22 | |
| 23 | Args: |
| 24 | color (str): stroke color |
| 25 | """ |
| 26 | self.style['fill'] = color |
| 27 | self.attributes['fill'] = color |
| 28 | |
| 29 | def add_arrow_coord(self, line, arrow_height, arrow_width, recess): |
| 30 | """ Determine the coordinates of an arrow head polygon |
no outgoing calls
no test coverage detected