Extends
Members
achors
所有吸附节点
- Source:
scaleRatio :number
缩放比例系数
Type:
- number
- Source:
transform
做指定转换
- Source:
zoom
缩放
- Source:
zoomTo
滚动到指定位置
- Source:
Methods
autoFit()
自适应,支持
- Source:
clear()
清空
- Overrides:
- Source:
disablePan()
禁用鼠标移动
- Source:
disableWheel()
禁用滚轮缩放
- Source:
fire(event, data)
Parameters:
Name | Type | Description |
---|---|---|
event |
* | |
data |
* |
- Overrides:
- Source:
moveTo(x, y)
移动到指定位置
Parameters:
Name | Type | Description |
---|---|---|
x |
* | |
y |
* |
- Source:
off(event, offFunc)
关闭绑定的事件
Parameters:
Name | Type | Description |
---|---|---|
event |
* | |
offFunc |
* | 不传清空所有 |
- Overrides:
- Source:
on(event, func, index)
箭头
Parameters:
Name | Type | Description |
---|---|---|
event |
* | |
func |
* | |
index |
* |
- Overrides:
- Source:
pan(x, y)
移动到指定位置
Parameters:
Name | Type | Description |
---|---|---|
x |
number | |
y |
number |
- Source:
update()
更新最新的matrix
- Source: