object

fabric.util. object

Source:

Methods

(static) extend(destination, source) → {Object}

Source:
Copies all enumerable properties of one js object to another this does not and cannot compete with generic utils. Does not clone or extend fabric.Object subclasses. This is mostly for internal use and has extra handling for fabricJS objects it skips the canvas and group properties in deep cloning.
Parameters:
Name Type Description
destination Object Where to copy to
source Object Where to copy from
Returns:
Type
Object