saveObjectTransform
saveObjectTransform(
target
):object
Parameters
• target: BaseFabricObject
<Partial
<ObjectProps
>, SerializedObjectProps
, ObjectEvents
>
object to read from
Returns
object
Components of transform
angle
angle:
TDegree
=target.angle
flipX
flipX:
boolean
=target.flipX
flipY
flipY:
boolean
=target.flipY
left
left:
number
=target.left
scaleX
scaleX:
number
=target.scaleX
scaleY
scaleY:
number
=target.scaleY
skewX
skewX:
number
=target.skewX
skewY
skewY:
number
=target.skewY
top
top:
number
=target.top