(abstract) new Path(dataopt, nullable)
Abstract base path class.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
object |
<optional> <nullable> |
JSON data.
Properties
|
- Source:
Methods
(abstract) path(link) → {string}
Return text path and set link path.
Parameters:
Name | Type | Description |
---|---|---|
link |
ge.Link | Link data. |
- Source:
Returns:
SVG path.
- Type
- string
toJson() → {object}
Convert to JSON.
- Source:
Returns:
JSON data.
- Type
- object