Search
Preparing search index...
The search index is not available
The Collaborative Illustrator — Documentation
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
TranslateShapeAction
Class TranslateShapeAction
A class to move a shape in a canvas.
Hierarchy
TranslateShapeAction
Implements
Action
Index
Constructors
constructor
Properties
object
Id
old
Translate
time
Stamp
translate
type
user
Id
Methods
do
undo
Constructors
constructor
new
Translate
Shape
Action
(
translate
:
object
, shapeId
:
string
, userId
:
string
, timeStamp
:
number
)
:
TranslateShapeAction
Parameters
translate:
object
dx
:
number
dy
:
number
shapeId:
string
userId:
string
timeStamp:
number
Returns
TranslateShapeAction
Properties
object
Id
object
Id
:
string
old
Translate
old
Translate
:
object
Type declaration
dx
:
number
dy
:
number
time
Stamp
time
Stamp
:
number
translate
translate
:
object
Type declaration
dx
:
number
dy
:
number
type
type
:
string
user
Id
user
Id
:
string
Methods
do
do
(
canvas
:
Canvas
)
:
void
Parameters
canvas:
Canvas
Returns
void
undo
undo
(
canvas
:
Canvas
)
:
void
Parameters
canvas:
Canvas
Returns
void
Globals
Translate
Shape
Action
constructor
object
Id
old
Translate
time
Stamp
translate
type
user
Id
do
undo
Generated using
TypeDoc
A class to move a shape in a canvas.