레퍼런스 textLeading()

textLeading()

text()를 호출할 때의 텍스트 줄 간격을 설정합니다.

참고: 줄 간격은 픽셀 단위로 계산됩니다.

인수 없이 textLeading()을 호출하면 현재의 줄 간격을 반환합니다.

예제

구문

textLeading(leading)
textLeading()

매개변수

leading
Number:

픽셀 단위의 텍스트 줄 간격.

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

관련 레퍼런스