sendObjectToPlane
sendObjectToPlane(
object
,from
?,to
?):TMat2D
Parameters
• object: BaseFabricObject
<Partial
<ObjectProps
>, SerializedObjectProps
, ObjectEvents
>
• from?: TMat2D
plane matrix containing object. Passing undefined
is equivalent to passing the identity matrix, which means object
is a direct child of canvas.
• to?: TMat2D
destination plane matrix to contain object. Passing undefined
means object
should be sent to the canvas coordinate plane.
Returns
the transform matrix that was applied to object