Marks the beginning of an undo group, which allows a script to logically group all of its actions as a single undoable action for use with the Edit > Undo/R
Tag Archives: text
boxText
True if a text layer is a layer of paragraph bounded text; otherwise false.Boolean; read-only.
tracking
The text layerメs spacing between characters.NOTE: If the text layer has different tracking settings for each character, this attribute returns the setting f
autoOrient
The type of automatic orientation to perform for the layer.An AutoOrientType enumerated value; read/write. One of:AutoOrientType.ALONG_PATH Layer faces in t
boxTextSize
The size of a paragraph box text layer as a [width, height] array of pixel dimensions.Array of two integers minimum value of 1 ; read/write.
resetCharStyle()
Restores the default text character characteristics in the Character panel.None.Nothing.
source
The source AVItem for this layer. The value is null ina Text layer. UseAVLayer.replaceSource to change the value.AVItem object; read-only.
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-
resetParagraphStyle()
Restores the default text paragraph characteristics in the Paragraph panel.None.Nothing.