Skip to main content

Class: TextItem

Implements​

Constructors​

constructor​

• new TextItem(item): TextItem

Parameters​

NameType
itemany

Returns​

TextItem

Properties​

areaId​

• areaId: number

Implementation of​

Item.areaId


constraints​

• constraints: null | { [key: string]: any; } = null

Implementation of​

Item.constraints


fillColor​

• fillColor: string


fontFamily​

• fontFamily: string


fontSize​

• fontSize: number


fontStretch​

• fontStretch: string


fontStyle​

• fontStyle: string


fontWeight​

• fontWeight: string


guid​

• guid: string

Implementation of​

Item.guid


index​

• index: number = 0

Implementation of​

Item.index


isTemplateElement​

• isTemplateElement: boolean


isTextOnPath​

• isTextOnPath: boolean


justification​

• justification: string


name​

• name: string

Implementation of​

Item.name


strokeColor​

• strokeColor: string


strokeWidth​

• strokeWidth: number


text​

• text: string


type​

• type: ItemType

Implementation of​

Item.type