跳转到内容

PortableTextStyle

此内容尚不支持你的语言。

Defined in: text-layout.ts:41

readonly align: "start" | "center" | "end"

Defined in: text-layout.ts:51


readonly backgroundFill: string

Defined in: text-layout.ts:53


readonly backgroundOpacity: number

Defined in: text-layout.ts:54


readonly backgroundPaddingPx: number

Defined in: text-layout.ts:55


readonly backgroundRadiusPx: number

Defined in: text-layout.ts:56


readonly direction: "ltr" | "rtl"

Defined in: text-layout.ts:52


readonly fill: string

Defined in: text-layout.ts:48


readonly fontFamilies: readonly string[]

Defined in: text-layout.ts:42


readonly fontSizePx: number

Defined in: text-layout.ts:43


readonly fontStyle: "normal" | "italic" | "oblique"

Defined in: text-layout.ts:45


readonly fontWeight: number

Defined in: text-layout.ts:44


readonly letterSpacingPx: number

Defined in: text-layout.ts:47


readonly lineHeightPx: number

Defined in: text-layout.ts:46


readonly stroke: string | undefined

Defined in: text-layout.ts:49


readonly strokeWidthPx: number

Defined in: text-layout.ts:50