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