addTransformToObject
addTransformToObject(
object
,transform
):void
Defined in: src/util/misc/objectTransforms.ts:43
given an object and a transform, apply the transform to the object. this is equivalent to change the space where the object is drawn. Adding to an object a transform that scale by 2 is like scaling it by 2. This is used when removing an object from an active selection for example.
Parameters
object
the object you want to transform
transform
the destination transform
Returns
void