text()가 호출될 때 그려진 텍스트 문자열의 최대 너비를 계산합니다.
예제
구문
textWidth(str)
매개변수
str
String:
너비를 측정할 문자열.
Returns
Number: 픽셀 단위로 측정된 너비.
This page is generated from the comments in src/typography/attributes.js . Please feel free to edit it and submit a pull request!