레퍼런스 textSize()

textSize()

Sets the font size when text() is called.

Note: Font size is measured in pixels.

Calling textSize() without an argument returns the current size.

예제

구문

textSize(size)
textSize()

매개변수

size
Number:

size of the letters in units of pixels.

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

관련 레퍼런스