toObject()
Class: Stroke.
Description:
Convert Stroke to JSON Object to be able to store it or modify it and convert back to the Stroke object using Stroke.fromObject(stroke).
Parameters:
No parameters
Returns:
Returns an object holding all properties of this Stroke object.
Type: object
