Skip to content
New issue

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

动态渲染数据 #1

Open
fwrong opened this issue Sep 18, 2018 · 0 comments
Open

动态渲染数据 #1

fwrong opened this issue Sep 18, 2018 · 0 comments

Comments

@fwrong
Copy link

fwrong commented Sep 18, 2018

您好,我想问下,如果数据是动态的,且是不定宽的那种,那怎么计算绘图位置,有没有类似小程序自带的ctx.measureText(item.Name).width / 2这种计算功能呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant