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
AddShapeAction
Class AddShapeAction
A class to add a shape to a canvas.
Hierarchy
AddShapeAction
Implements
Action
Index
Constructors
constructor
Properties
object
Id
shape
time
Stamp
type
user
Id
Methods
do
undo
Constructors
constructor
new
Add
Shape
Action
(
shape
:
Shape
, userId
:
string
, timeStamp
:
number
)
:
AddShapeAction
Parameters
shape:
Shape
userId:
string
timeStamp:
number
Returns
AddShapeAction
Properties
object
Id
object
Id
:
string
shape
shape
:
Shape
time
Stamp
time
Stamp
:
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
Add
Shape
Action
constructor
object
Id
shape
time
Stamp
type
user
Id
do
undo
Generated using
TypeDoc
A class to add a shape to a canvas.