Skip to content

applyTransformToObject

applyTransformToObject(object, transform): void

Defined in: src/util/misc/objectTransforms.ts:54

discard an object transform state and apply the one from the matrix.

Parameters

object

BaseFabricObject

the object you want to transform

transform

TMat2D

the destination transform

Returns

void