Experimental: this API is experimental and might be changed or removed in the future.

IStyle.fontStyleAndWeight

切换到手册
public StyleValue<FontStyle> fontStyleAndWeight ;

描述

用于绘制元素文本的字体样式和粗细(正常、粗体、斜体)。