Search
Preparing search index...
The search index is not available
front
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
front
components/ScreenShare
DrawHelper
Class DrawHelper
Hierarchy
DrawHelper
Index
Constructors
constructor
Properties
canvas
context
draw
Start
Positions
Methods
clear
draw
Line
And
Save
Start
Pos
set
Draw
Start
Pos
set
Up
Constructors
constructor
new
Draw
Helper
(
)
:
DrawHelper
Returns
DrawHelper
Properties
Private
canvas
canvas
:
null
|
HTMLCanvasElement
Private
context
context
:
null
|
CanvasRenderingContext2D
Private
draw
Start
Positions
draw
Start
Positions
:
Map
<
string
,
Vec2
>
Methods
clear
clear
(
)
:
void
Returns
void
draw
Line
And
Save
Start
Pos
draw
Line
And
Save
Start
Pos
(
toPos
:
Vec2
, strokeColor
:
string
, lineWidth
:
number
, socketID
:
string
)
:
void
Parameters
toPos:
Vec2
strokeColor:
string
lineWidth:
number
socketID:
string
Returns
void
set
Draw
Start
Pos
set
Draw
Start
Pos
(
pos
:
Vec2
, socketID
:
string
)
:
void
Parameters
pos:
Vec2
socketID:
string
Returns
void
set
Up
set
Up
(
canvas
:
HTMLCanvasElement
)
:
void
Parameters
canvas:
HTMLCanvasElement
Returns
void
Modules
components/
Screen
Share
Draw
Helper
constructor
canvas
context
draw
Start
Positions
clear
draw
Line
And
Save
Start
Pos
set
Draw
Start
Pos
set
Up
Screen
Share
Props
default
Generated using
TypeDoc