怎么计算文本内容的宽度?
#5314
Replies: 1 comment 3 replies
-
能提供更加具体的场景吗? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
G2内部有没有API可以计算文本宽高? 有很多时候需要1行显示不同样式的文本, 那就需要计算前面文本的宽度, 文档中没有找到相关API
Beta Was this translation helpful? Give feedback.
All reactions