Eulergraph
Preparing search index...
services/CopyPasteService/CopyPasteService
CopyPasteService
Class CopyPasteService
Hierarchy (
View Summary
)
Service
CopyPasteService
Index
Constructors
constructor
Properties
euler
Engine
interactive
offset
On
Paste
Methods
copy
To
Clipboard
disable
Interactive
dispose
get
Selected
Cells
Json
make
Interactive
paste
Cells
paste
From
Clipboard
subscribe
unsubscribe
Constructors
constructor
new
CopyPasteService
(
eulerEngine
:
EulerGraph
)
:
CopyPasteService
Parameters
eulerEngine
:
EulerGraph
Returns
CopyPasteService
Properties
Readonly
euler
Engine
eulerEngine
:
EulerGraph
interactive
interactive
:
boolean
= true
offset
On
Paste
offsetOnPaste
:
Point
= ...
Methods
copy
To
Clipboard
copyToClipboard
()
:
Promise
<
void
>
Returns
Promise
<
void
>
disable
Interactive
disableInteractive
()
:
void
Returns
void
dispose
dispose
()
:
void
Returns
void
get
Selected
Cells
Json
getSelectedCellsJson
()
:
GraphicElementJSON
[]
|
undefined
Returns
GraphicElementJSON
[]
|
undefined
make
Interactive
makeInteractive
()
:
void
Returns
void
paste
Cells
pasteCells
(
cellsJsonData
:
GraphicElementJSON
[]
,
withOffset
:
boolean
,
)
:
GraphicElement
[]
Parameters
cellsJsonData
:
GraphicElementJSON
[]
withOffset
:
boolean
Returns
GraphicElement
[]
paste
From
Clipboard
pasteFromClipboard
(
options
:
{
currentCanvasPosition
?:
PointLike
;
withOffset
:
boolean
}
,
)
:
Promise
<
void
>
Parameters
options
:
{
currentCanvasPosition
?:
PointLike
;
withOffset
:
boolean
}
Returns
Promise
<
void
>
subscribe
subscribe
()
:
void
Returns
void
unsubscribe
unsubscribe
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
euler
Engine
interactive
offset
On
Paste
Methods
copy
To
Clipboard
disable
Interactive
dispose
get
Selected
Cells
Json
make
Interactive
paste
Cells
paste
From
Clipboard
subscribe
unsubscribe
Eulergraph
Loading...