TextDocument object

The TextDocumentobject stores a value for a TextLayer’s Source Text property. Create it withthe constructor, passing the string to be encapsulated.ExamplesT

TextLayer object

The TextLayer object represents a text layer within a composition. Create it using the LayerCollection objectメs addText method; It can be accessed in an ite

addShape()

Creates a new ShapeLayer object for a new, empty Shape layer. Use the ShapeLayer object to add properties, such as shape, fill, stroke, and path filters.Thi

applyFill

When true, the textlayer shows a fill. Access the fillColor attribute for the actual color. When false, only a stroke is shown.Boolean; read/write.

applyStroke

When true,the text layer shows a stroke. Accessthe strokeColor attribute for the actual colorand strokeWidth for its thickness. When false, only a fill is s

fillColor

The text layerメs fill color, as an array of [r, g, b] floating-point values. For example, in an 8-bpc project, a red value of 255 would be 1.0, and in a 32-

strokeOverFill

Indicates the rendering order for the fill and stroke of a text layer. When true, the stroke appears over the fill.NOTE: If the text layer has different fil