text()를 호출할 때의 시스템 글꼴의 스타일을 설정합니다.
매개변수 style은 NORMAL, ITALIC, BOLD, BOLDITALIC 중 하나입니다.
textStyle()은 CSS 스타일링에 의해 덮어씌워질 수 있습니다. 이 함수는 loadFont()로 불러온 글꼴에는 영향을 주지 않습니다.
예제
구문
textStyle(style)
textStyle()
매개변수
style
Constant:
글꼴 스타일, ITALIC, BOLD, BOLDITALIC 중 하나.
This page is generated from the comments in src/typography/attributes.js . Please feel free to edit it and submit a pull request!