TextLayer object

app.project.item(index).layer(index)

The TextLayer object represents a text layer within a composition. Create it using the LayerCollection object’s addText method; see “LayerCollection addText() method” on page 98. It can be accessed in an item’s layer collection either by index number or by a name string.

  • TextLayer is a subclass of AVLayer, which is a subclass of Layer. All methods and attributes of AVLayer and Layer are available when working with TextLayer. See “Layer object” on page 86 and “AVLayer object” on page 38.

AE Properties

TextLayer defines no additional attributes, but has the following AE properties and property groups, in addition to those inherited from AVLayer:

  • Text
  • Source Text
  • Path Options
  • Path
  • Reverse Path
  • Perpendicular To Path
  • Force Alignment
  • First Margin
  • Last Margin
  • More Options
  • Anchor Point Grouping
  • Grouping Alignment
  • Fill & Stroke
  • Inter-Character Blending
  • Animators
  • Unused Properties and Attributes

The TimeRemap and Motion Trackers properties, inherited from AVLayer, are not applicable to text layers, and their related AVLayer attributes are not used:

  • canSetTimeRemapEnabled
  • timeRemapEnabled
  • trackMatteType
  • isTrackMatte
  • hasTrackMatte