Returns svg text that represents the first item on the stack. for testing purposes. :param opts: svg formatting options :type opts: dictionary, width and height :return: a string that contains SVG that represents this item.
(self, opts: Any = None)
| 1029 | return self.newObject(set(el for res in results for el in res) - set(shapes)) |
| 1030 | |
| 1031 | def toSvg(self, opts: Any = None) -> str: |
| 1032 | """ |
| 1033 | Returns svg text that represents the first item on the stack. |
| 1034 | |
| 1035 | for testing purposes. |
| 1036 | |
| 1037 | :param opts: svg formatting options |
| 1038 | :type opts: dictionary, width and height |
| 1039 | :return: a string that contains SVG that represents this item. |
| 1040 | """ |
| 1041 | return getSVG(self.val(), opts) |
| 1042 | |
| 1043 | def exportSvg(self, fileName: str) -> None: |
| 1044 | """ |