PortableTextStyle
Defined in: text-layout.ts:41
Properties
Section titled “Properties”
readonlyalign:"start"|"center"|"end"
Defined in: text-layout.ts:51
backgroundFill
Section titled “backgroundFill”
readonlybackgroundFill:string
Defined in: text-layout.ts:53
backgroundOpacity
Section titled “backgroundOpacity”
readonlybackgroundOpacity:number
Defined in: text-layout.ts:54
backgroundPaddingPx
Section titled “backgroundPaddingPx”
readonlybackgroundPaddingPx:number
Defined in: text-layout.ts:55
backgroundRadiusPx
Section titled “backgroundRadiusPx”
readonlybackgroundRadiusPx:number
Defined in: text-layout.ts:56
direction
Section titled “direction”
readonlydirection:"ltr"|"rtl"
Defined in: text-layout.ts:52
readonlyfill:string
Defined in: text-layout.ts:48
fontFamilies
Section titled “fontFamilies”
readonlyfontFamilies: readonlystring[]
Defined in: text-layout.ts:42
fontSizePx
Section titled “fontSizePx”
readonlyfontSizePx:number
Defined in: text-layout.ts:43
fontStyle
Section titled “fontStyle”
readonlyfontStyle:"normal"|"italic"|"oblique"
Defined in: text-layout.ts:45
fontWeight
Section titled “fontWeight”
readonlyfontWeight:number
Defined in: text-layout.ts:44
letterSpacingPx
Section titled “letterSpacingPx”
readonlyletterSpacingPx:number
Defined in: text-layout.ts:47
lineHeightPx
Section titled “lineHeightPx”
readonlylineHeightPx:number
Defined in: text-layout.ts:46
stroke
Section titled “stroke”
readonlystroke:string|undefined
Defined in: text-layout.ts:49
strokeWidthPx
Section titled “strokeWidthPx”
readonlystrokeWidthPx:number
Defined in: text-layout.ts:50