getFontWeight

abstract fun getFontWeight(): FontWeight?

获取字体粗细。

Return

当前的 FontWeight,例如 Normal 或 Bold。如果未指定则返回 null。