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

IStyle.fontStyleAndWeight

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

描述

Font style and weight (normal, bold, italic) to draw the element's text.