Skip to content

vyaz-monorepo / core/src / SemanticFragment

Interface: SemanticFragment ​

Defined in: core/src/types/LayoutTypes.ts:251

Semantic span for snapshots (without physical metrics)

Properties ​

style? ​

optional style?: "normal" | "bold" | "italic"

Defined in: core/src/types/LayoutTypes.ts:255


text ​

text: string

Defined in: core/src/types/LayoutTypes.ts:252


width ​

width: number

Defined in: core/src/types/LayoutTypes.ts:254


x ​

x: number

Defined in: core/src/types/LayoutTypes.ts:253

Released under the MIT License.