Skip to content

applyTransformToObject

applyTransformToObject(object, transform): void

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

Parameters

object: BaseFabricObject<Partial<ObjectProps>, SerializedObjectProps, ObjectEvents>

the object you want to transform

transform: TMat2D

the destination transform

Returns

void

Defined in

src/util/misc/objectTransforms.ts:54