[ static ] fromObject(stroke)
Class: Stroke.
Description:
Restore Stroke from JSON object that represents all properties of the Stroke object.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
object |
JSON object that holds properties of a Stroke object. It can be generated by stroke.toObject(). |
Returns:
Returns an instance of a new Stroke object.
Type: Stroke
