Constructor
new Tool(name, width, height, offsetXopt, offsetYopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
name |
string | |||
width |
number | |||
height |
number | |||
offsetX |
number |
<optional> |
0
|
|
offsetY |
number |
<optional> |
0
|