TextLayer
You can add text to a composition using text layers. Text layers are useful for many purposes, including animated titles, lower thirds, credit rolls, and dynamic typography.
Text layers are synthetic layers, meaning that a text layer does not use a footage item as its source—though you can convert text information from some footage items into text layers. Text layers are also vector layers. As with shape layers and other vector layers, text layers are always continuously rasterized, so when you scale the layer or resize the text, it retains crisp, resolution-independent edges. You cannot open a text layer in its own Layer panel, but you can work with text layers in the Composition panel.
After Effects uses two kinds of text: point text and paragraph text. Point text is useful for entering a single word or a line of characters; paragraph text is useful for entering and formatting the text as one or more paragraphs.
This layer type acts as a container for text and characters.
Mapped Field : ty
Mapped Field Value: 5
Hierarchy
TextLayer
Constructors
constructor
newTextLayer(parent: any): TextLayer
Properties
anchor
anchor: Property = new Property(this, PropertyType.ANCHOR)
autoOrient
autoOrient: boolean = false
Mapped Field : ao
blendMode
blendMode: BlendMode = BlendMode.NORMAL
Mapped Field : bm
classNames
classNames: string[] = []
effects
effects: any
height
height: number = 0
id
id: string = ""
inPoint
inPoint: number = 0
Optional index
index: undefined | number
is3D
is3D: boolean = false
name
name: string = ""
opacity
opacity: Property = new Property(this, PropertyType.OPACITY)
Optional orientation
outPoint
outPoint: number = 0
Protected parent
parent: any
position
position: Property = new Property(this, PropertyType.POSITION)
Optional rotation
Optional rotationX
Optional rotationY
Optional rotationZ
scale
scale: Property = new Property(this, PropertyType.SCALE)
startTime
startTime: number = 0
Optional textData
textData: any
timeStretch
timeStretch: number = 1
Readonly type
type: TEXT = LayerType.TEXT
width
width: number = 0
Accessors
colors
get colors(): string[]
Returns string[]
Array of colors.
totalFrames
get totalFrames(): number
Returns number
Number of frames.
Methods
fromJSON
fromJSON(json: Record<string, any>): TextLayer
toJSON
toJSON(): Record<string, any>
Returns Record<string, any>
JSON object
Last updated