new ToolNull(config)
Tool for moving viewport
Parameters:
Name | Type | Description |
---|---|---|
config |
object | tool config |
Extends
Methods
-
startInput()
-
MouseDown/TouchStart
Returns:
- returns new Input for current tool touch
- Type
- Input
-
drawFramePath(Drawing, List)
-
Draw engine runs both for drawed and received paths
Parameters:
Name Type Description Drawing
object parameters
List
object of points to draw
Returns:
- Type
- undefined
-
distance(x1, y1, x2, y2)
-
Calculate distance between two points
Parameters:
Name Type Description x1
number start x
y1
number start y
x2
number end x
y2
number end y
- Inherited From:
Returns:
- distance
- Type
- number