画布指定的背景图片支持放大缩小么? #1983
-
初始化画布时,给画布设置了背景图片: background: {
image:'http://图片地址',
size: '100% 100%',
} 之后再调用graph.zoom()进行画布的放大缩小时,背景图不能随着一起放大缩小? |
Beta Was this translation helpful? Give feedback.
Answered by
NewByVector
Apr 9, 2022
Replies: 1 comment
-
可以把 size 设置成对象形式: size: { width: any, height: any } |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NewByVector
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可以把 size 设置成对象形式: