FontProperties

文本装饰样式。

属性

decoration

文本装饰样式。

decoration?: "none" | "underline" | "line-through"

类型: "none" | "underline" | "line-through"

family

文本的字体族名称。

family?: string

类型: string

size

字体大小(以点为单位)。

size?: string | number

类型: string | number

style

文本的字体样式。

style?: "normal" | "italic" | "oblique"

类型: "normal" | "italic" | "oblique"

weight

文本的字体粗细。

weight?: "bold" | "normal" | "bolder" | "lighter"

类型: "bold" | "normal" | "bolder" | "lighter"

BIMFlux AI