Search
Preparing search index...
The search index is not available
canvg
Options
All
Public
Public/Protected
All
Inherited
Menu
canvg
Mouse
Class Mouse
Hierarchy
Mouse
Index
Constructors
constructor
Properties
event
Elements
events
working
Methods
check
Bounding
Box
check
Path
has
Events
is
Working
mapXY
on
Click
on
Mouse
Move
run
Events
start
stop
Constructors
constructor
new
Mouse
(
screen
:
Screen
)
:
Mouse
Parameters
screen:
Screen
Returns
Mouse
Properties
Private
event
Elements
event
Elements
:
Element
[]
= []
Private
events
events
:
IEvent
[]
= []
Private
working
working
:
boolean
= false
Methods
check
Bounding
Box
check
Bounding
Box
(
element
:
Element
, boundingBox
:
BoundingBox
)
:
void
Parameters
element:
Element
boundingBox:
BoundingBox
Returns
void
check
Path
check
Path
(
element
:
Element
, ctx
:
RenderingContext2D
)
:
void
Parameters
element:
Element
ctx:
RenderingContext2D
Returns
void
has
Events
has
Events
(
)
:
boolean
Returns
boolean
is
Working
is
Working
(
)
:
boolean
Returns
boolean
Private
mapXY
mapXY
(
x
:
number
, y
:
number
)
:
Point
Parameters
x:
number
y:
number
Returns
Point
Private
on
Click
on
Click
(
event
:
MouseEvent
)
:
void
Parameters
event:
MouseEvent
Returns
void
Private
on
Mouse
Move
on
Mouse
Move
(
event
:
MouseEvent
)
:
void
Parameters
event:
MouseEvent
Returns
void
run
Events
run
Events
(
)
:
void
Returns
void
start
start
(
)
:
void
Returns
void
stop
stop
(
)
:
void
Returns
void
Exports
presets
Mouse
constructor
event
Elements
events
working
check
Bounding
Box
check
Path
has
Events
is
Working
mapXY
on
Click
on
Mouse
Move
run
Events
start
stop
Generated using
TypeDoc