跳转到内容

TextItemEntity

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

Defined in: packages/project-schema/src/items.ts:202

Rich text laid out inside a fixed pixel box.

[key: string]: JsonValue

box: BoxValue

Defined in: packages/project-schema/src/items.ts:204


enabled: boolean

Defined in: packages/project-schema/src/types.ts:157

ItemEntity.enabled


id: string

Defined in: packages/project-schema/src/types.ts:43

ItemEntity.id


optional linkGroupId: string

Defined in: packages/project-schema/src/types.ts:161

ItemEntity.linkGroupId


optional markerIds: string[]

Defined in: packages/project-schema/src/types.ts:160

ItemEntity.markerIds


materialInstanceIds: string[]

Defined in: packages/project-schema/src/types.ts:159

ItemEntity.materialInstanceIds


overflow: "clip" | "ellipsis" | "visible" | "auto-fit"

Defined in: packages/project-schema/src/items.ts:212

What happens to text that does not fit its box.

These are the four the document permits and the renderer implements: clip cuts at the box, ellipsis truncates the last visible line, visible lets the text spill, and auto-fit shrinks it until it fits.


paragraphs: TextParagraph[]

Defined in: packages/project-schema/src/items.ts:214


range: TimeRange & JsonObject

Defined in: packages/project-schema/src/types.ts:158

VideoItemEntity.range


trackId: string

Defined in: packages/project-schema/src/types.ts:155

ItemEntity.trackId


type: "text"

Defined in: packages/project-schema/src/items.ts:203

ItemEntity.type


visual: ItemVisualProperties

Defined in: packages/project-schema/src/items.ts:215


writingMode: "horizontal-tb" | "vertical-rl" | "vertical-lr"

Defined in: packages/project-schema/src/items.ts:213