레퍼런스 textSize()

textSize()

text()를 호출할 때의 글꼴 크기를 설정합니다.

참고: 글꼴 크기는 픽셀 단위로 계산됩니다.

인수 없이 textSize()를 호출하면 현재 크기를 반환합니다.

예제

구문

textSize(size)
textSize()

매개변수

size
Number:

픽셀 단위의 글꼴 크기.

This page is generated from the comments in src/typography/attributes.js . Please feel free to edit it and submit a pull request!

관련 레퍼런스