Return a copy of the vertices used in this patch. If the patch contains Bézier curves, the curves will be interpolated by line segments. To access the curves as curves, use `get_path`.
(self)
| 103 | self._internal_update(kwargs) |
| 104 | |
| 105 | def get_verts(self): |
| 106 | """ |
| 107 | Return a copy of the vertices used in this patch. |
| 108 | |
| 109 | If the patch contains Bézier curves, the curves will be interpolated by |
| 110 | line segments. To access the curves as curves, use `get_path`. |
| 111 | """ |
| 112 | trans = self.get_transform() |
| 113 | path = self.get_path() |
| 114 | polygons = path.to_polygons(trans) |
| 115 | if len(polygons): |
| 116 | return polygons[0] |
| 117 | return [] |
| 118 | |
| 119 | def _process_radius(self, radius): |
| 120 | if radius is not None: |