We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我这边需要一个可以画一个固定宽高比的长方形,不知道是否可以帮忙加上, 又或者能否指导我给加上?目前项目比较着急需要这个,感谢! 就是在画的时候,是个长方形,长宽比是固定的,比如16:9,我拉任何一边时,增加或缩小,都是按16:9的比例进行变化的, 不知道我说明白了没。
The text was updated successfully, but these errors were encountered:
这个需求很简单啊,拉代码下来,在矩形里加一个参数,比如:forceScale(随便起的) 值是: 16/9 那么在拖拽矩形的时候,第二个点的位置是先通过第一个点位置和这个比例+当前鼠标位置生成的,在已有的图形就更简单了,去除边上的控制点,只保留四个角的点即可
Sorry, something went wrong.
这不是不太会弄嘛,方便帮忙写一下不?
No branches or pull requests
我这边需要一个可以画一个固定宽高比的长方形,不知道是否可以帮忙加上,
又或者能否指导我给加上?目前项目比较着急需要这个,感谢!
就是在画的时候,是个长方形,长宽比是固定的,比如16:9,我拉任何一边时,增加或缩小,都是按16:9的比例进行变化的,
不知道我说明白了没。
The text was updated successfully, but these errors were encountered: