Methods
initialize(path, attr) → {SvgPathAndAttributes}
creates a new instance
This:
Parameters:
Name | Type | Description |
---|---|---|
path |
string | string representing SVG path. |
attr |
object | object with attributes for said path. |
- Source:
Returns:
the new instance.
- Type
- SvgPathAndAttributes
toString() → {string}
toString method that allows you to get a nice printout for this type
This:
- Source:
Returns:
string representation of this instance.
- Type
- string