iink-ts - v4.0.0
Preparing search index...
IModel
Class IModel
Index
Constructors
constructor
Properties
converts?
creation
Time
current
Stroke?
exports?
height
modification
Date
row
Height
strokes
width
Methods
add
Stroke
clear
clone
extract
Difference
Strokes
merge
Export
remove
Stroke
update
Stroke
Constructors
constructor
new
IModel
(
width
?:
number
,
height
?:
number
,
rowHeight
?:
number
,
creationDate
?:
number
,
)
:
IModel
Parameters
width
:
number
= 100
height
:
number
= 100
rowHeight
:
number
= 0
creationDate
:
number
= ...
Returns
IModel
Properties
Optional
converts
converts
?:
TExportV2
Readonly
creation
Time
creationTime
:
number
Optional
current
Stroke
currentStroke
?:
TStroke
Optional
exports
exports
?:
TExportV2
height
height
:
number
modification
Date
modificationDate
:
number
row
Height
rowHeight
:
number
strokes
strokes
:
TStroke
[]
width
width
:
number
Methods
add
Stroke
addStroke
(
stroke
:
TStroke
)
:
void
Parameters
stroke
:
TStroke
Returns
void
clear
clear
()
:
void
Returns
void
clone
clone
()
:
IModel
Returns
IModel
extract
Difference
Strokes
extractDifferenceStrokes
(
model
:
IModel
,
)
:
{
added
:
TStroke
[]
;
removed
:
TStroke
[]
}
Parameters
model
:
IModel
Returns
{
added
:
TStroke
[]
;
removed
:
TStroke
[]
}
merge
Export
mergeExport
(
exports
:
TExportV2
)
:
void
Parameters
exports
:
TExportV2
Returns
void
remove
Stroke
removeStroke
(
id
:
string
)
:
void
Parameters
id
:
string
Returns
void
update
Stroke
updateStroke
(
updatedStroke
:
TStroke
)
:
void
Parameters
updatedStroke
:
TStroke
Returns
void
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
converts
creation
Time
current
Stroke
exports
height
modification
Date
row
Height
strokes
width
Methods
add
Stroke
clear
clone
extract
Difference
Strokes
merge
Export
remove
Stroke
update
Stroke
iink-ts - v4.0.0
Loading...