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
Tag Archives: text
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.
frameTarget
A text frame target for this marker. Together with the URL value, this targets a specific frame within a Web page.String; read/write.
unitsText
The text description of the units in which the value is expressed.String; read-only.
strokeColor
The text layerメs stroke 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 3
comment
A text comment for this marker. This comment appears in the Timeline panel next to the layer marker.String; read/write.