issues
search
leaferjs
/
leafer-ui
一款好用的 Canvas 渲染引擎,革新的体验。高效绘图 、UI 交互(小游戏、互动应用、组态)、图形编辑,前端开发必备~
https://www.leaferjs.com
MIT License
2.38k
stars
82
forks
source link
有没有将元素居中的方法?
#132
Closed
Sunge8081
closed
5 months ago
Sunge8081
commented
5 months ago
找了文档没找到。难道要自己算x,y吗?
leaferjs
commented
5 months ago
整体视图居中:
https://leaferjs.com/ui/guide/plugin/view/zoom.html
围绕中心绘制元素:
https://leaferjs.com/ui/guide/property/around.html
找了文档没找到。难道要自己算x,y吗?