TextItemEntity
此内容尚不支持你的语言。
Defined in: packages/project-schema/src/items.ts:202
Rich text laid out inside a fixed pixel box.
Extends
Section titled “Extends”Indexable
Section titled “Indexable”[key: string]: JsonValue
Properties
Section titled “Properties”box:
BoxValue
Defined in: packages/project-schema/src/items.ts:204
enabled
Section titled “enabled”enabled:
boolean
Defined in: packages/project-schema/src/types.ts:157
Inherited from
Section titled “Inherited from”id:
string
Defined in: packages/project-schema/src/types.ts:43
Inherited from
Section titled “Inherited from”linkGroupId?
Section titled “linkGroupId?”
optionallinkGroupId:string
Defined in: packages/project-schema/src/types.ts:161
Inherited from
Section titled “Inherited from”markerIds?
Section titled “markerIds?”
optionalmarkerIds:string[]
Defined in: packages/project-schema/src/types.ts:160
Inherited from
Section titled “Inherited from”materialInstanceIds
Section titled “materialInstanceIds”materialInstanceIds:
string[]
Defined in: packages/project-schema/src/types.ts:159
Inherited from
Section titled “Inherited from”ItemEntity.materialInstanceIds
overflow
Section titled “overflow”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
Section titled “paragraphs”paragraphs:
TextParagraph[]
Defined in: packages/project-schema/src/items.ts:214
range:
TimeRange&JsonObject
Defined in: packages/project-schema/src/types.ts:158
Inherited from
Section titled “Inherited from”trackId
Section titled “trackId”trackId:
string
Defined in: packages/project-schema/src/types.ts:155
Inherited from
Section titled “Inherited from”type:
"text"
Defined in: packages/project-schema/src/items.ts:203
Overrides
Section titled “Overrides”visual
Section titled “visual”visual:
ItemVisualProperties
Defined in: packages/project-schema/src/items.ts:215
writingMode
Section titled “writingMode”writingMode:
"horizontal-tb"|"vertical-rl"|"vertical-lr"
Defined in: packages/project-schema/src/items.ts:213