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-
Tag Archives: text
resetParagraphStyle()
Restores the default text paragraph characteristics in the Paragraph panel.None.Nothing.
threeDPerChar
True if this layer has the Enable Per-character 3D switch set, allowing its characters to be animated off the plane of the text layer. Applies only to text
font
The text layerメs font specified by its PostScript name.NOTE: If the text layer has different font settings for each character, this attribute returns the se
openInViewer()
Opens the layer in a Layer panel, and moves the Layer panel to front and gives it focus.None.Viewer object for the Layer panel, or null if the layer could n
fontSize
The text layerメs font size in pixels.NOTE: If the text layer has different font size settings for each character, this attribute returns the setting for the
sourceRectAtTime()
Retrieves the rectangle bounds of the layer at the specified time index, corrected for text or shape layer content.Use, for example, to write text that is p
justification
The paragraph justification for the text layer.AParagraphJustification enumerated value; read-only. One of:ParagraphJustification.LEFT_JUSTIFYParagraphJusti
autoFixExpressions()
Automatically replaces text found in broken expressions in the project, if the new text causes the expression to evaluate without errors.oldText The text to
pointText
True if a text layer is a layer of point unbounded text; otherwise false.Boolean; read-only.