the class can work as a "creator" of self instances so no need to init if 'creator' passed insted of path
Method sample
Parameters:
easing
must be a Number.Returns a Number
(easing y)
Method create
Create new instance of PathEasing with specified parameters Please see the docs for PathEasing for more details on params.
Parameters:
path
must be a String, DOMNode.Returns an Object
(easing y)
PathEasing
Class allows you to specify custom easing function by SVG path line commands. Line commands should by in range of rect 100x100.
Parameters:
{String, DOMNode}
options
must be an Object.(- precision {Number} Presicion for the output, defines amount of samples for the sample function. default: 24 - rect {Number} The largest number SVG path coordinates can have default: 100)