text: string
文本圖層。
alignment: Alignment
文本對齊方式。
verticalAlignment: VerticalAlignment
文本垂直對齊。
kerning: number
字間距。
lineHeight: number
行間距。
paragraphSpacing: number
段落間距。
textColor: Color
文本顏色。
fontSize: number
文本字號。
textTransform: TextTransform
文本大小寫轉(zhuǎn)換類型。
postscript: string
文本字體標識 。
fontFamily: string [readonly]
文本字體。
fontStyle: string [readonly]
文本樣式。
fontWeight: string [readonly]
文本字重。
textUnderline: DecorationStyle
文本下劃線。
textStrikethrough: StrikeThroughStyle
文本刪除線。
textBehaviour: TextBehaviour
文本換行。
fragments: TextFragment
富文本編輯信息。
sharedStyleID: string | undefined
文本資源的ID。
sharedStyle: SharedTextStyle | null
文本是否創(chuàng)建為文本資源。