Path2D constructor
init
returns a newly instantiated Path2D object
def __init__(self):
...
init
returns a newly instantiated Path2D object with another path as an argument (creates a copy)
def __init__(self, path):
...
Parameter | Type | Description |
---|---|---|
path | Path2D | When invoked with another Path2D object, a copy of the path argument is created |
init
returns a newly instantiated Path2D object with a string consisting of SVG path data.
def __init__(self, d):
...
Parameter | Type | Description |
---|---|---|
d | str | The string consisting of SVG path data |
See Also
- module
aspose.html.dom.canvas
- class
Path2D