Namespace: object

fabric.util.object

Source:

Methods

(static) clone(object) → {Object}

Creates an empty object and copies all enumerable properties of another object to it
Parameters:
Name Type Description
object Object Object to clone
Source:
Returns:
Type
Object

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

Copies all enumerable properties of one js object to another Does not clone or extend fabric.Object subclasses.
Parameters:
Name Type Description
destination Object Where to copy to
source Object Where to copy from
Source:
Returns:
Type
Object