The text object contained in an art layer.
Go to Property Listing | Method Listing
AntiAlias, AutoKernType, Boolean, Case, Direction, Justification, Language, Number, SolidColor, StrikeThruType, String, TextComposer, TextType, UnderlineType, UnitValue, WarpStyle
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
If true, alternate ligatures are used. |
||
read/write |
The method of anti-aliasing to use. |
||
read/write |
Options for auto kerning. |
||
read/write |
The percentage to use for auto leading. Range: 0.01 to 5000.00. |
||
read/write |
The amount of baseline offset of text. |
||
read/write |
The case of the text. |
||
read/write |
The text color. |
||
read/write |
The actual text in the layer. |
||
read/write |
The desired amount (as a percentage) to scale the horizontal size of the text letters. Range: 50 - 200; at 100, the width of characters is not scaled. Valid only for justified text. |
||
read/write |
The amount of space (as a percentage) between letters. Range: 100 - 500; at 0, no space is added between letters. Valid only for justified text. |
||
read/write |
The amount (as a percentage) of space between words. Range: 0 -1000; at 100, no additional space is added between words. Valid only for justified text. |
||
read/write |
The text orientation. |
||
read/write |
If true, faux bold is used. |
||
read/write |
If true, faux italic is used. |
||
read/write |
The amount to indent the first line of paragraphs. Range: -1296 to 1296. |
||
read/write |
The text face of the character. |
||
read/write |
If true, uses Roman hanging punctuation. |
||
read/write |
The height of the bounding box for paragraph text. |
||
Int |
read/write |
Character scaling (horizontal) in proportion to horizontal scale. Range: 0 - 1000 as a percentage. |
|
Int |
read/write |
The maximum number of consecutive lines that can end with a hyphenated word. |
|
Int (range 1 - 15) |
read/write |
The number of letters after which hyphenation in word wrap is allowed. Range: 1 to 15. |
|
Int (range 1 - 15) |
read/write |
The number of letters before which hyphenation in word wrap is allowed. Range: 1 to 15. |
|
read/write |
If true, capitalized words can be hyphenated. |
||
Int (range 0 2 - 25) |
read/write |
The minimum number of letters a word must have in order for hyphenation in word wrap to be allowed. Range: 2 to 25. |
|
read/write |
If true, hyphenation is used. |
||
read/write |
The distance at the end of a line that will cause a word to break in unjustified type. Range: 0 - 720 picas. |
||
read/write |
The paragraph justification. |
||
read/write |
The type of text. |
||
read/write |
The language. |
||
read/write |
The leading amount. |
||
read/write |
The amount to indent text from the left. Range: -1296 to 1296. |
||
read/write |
If true, ligatures are used. |
||
read/write |
The maximum amount (as a percentage) to scale the horizontal size of the text letters. Range: 50 - 200; at 100, the width of characters is not scaled. Valid only for justified text. |
||
read/write |
The maximum amount (as a percentage) of space between letters. Range: 100 - 500; at 0, no space is added between letters. Valid only for justified text. |
||
read/write |
The maximum amount (as a percentage) of space between words (0 -1000; at 100, no additional space is added between words). Valid only for justified text. |
||
read/write |
The minimum amount (as a percentage) to scale the horizontal size of the text letters. Range: 50 - 200; at 100, the width of characters is not scaled. Valid only for justified text. |
||
Number (range 100 - 500) |
read/write |
The minimum amount of space (as a percentage) between letters. Range: 100 to 500; at 0, no space is added between letters. Valid only for justified text. |
|
read/write |
The minimum amount (as a percentage) of space between words. Range: 0 -1000; at 100, no additional space is added between words. Valid only for justified text. |
||
read/write |
If true, words are not allowed to break at the end of a line. When enacted on large amounts of consecutive characters, can prevent word wrap and thus may prevent some text from appearing on the screen. |
||
read/write |
If true, old style is used. |
||
readonly |
The object's container. |
||
UnitPoint |
read/write |
The position of the origin for the text. The array must contain two values. Setting this property is basically equivalent to clicking the text tool at a point in the document to create the point of origin for text. |
|
read/write |
The amount to indent text from the right. Range: -1296 to 1296. |
||
read/write |
The font size in points. |
||
read/write |
The amount of space after each paragraph. Range: -1296 to 1296. |
||
read/write |
The amount of space before each paragraph. Range: -1296 to 1296. |
||
read/write |
The strike through option to use. |
||
read/write |
The text composing engine to use. |
||
read/write |
The amount of uniform spacing between multiple characters. Range: -1000 to 10000. |
||
readonly |
The class name of the object. |
||
read/write |
Options for underlining the text. |
||
read/write |
If true, uses the font's built-in leading information. |
||
Int |
read/write |
Character scaling (vertical) in proportion to horizontal scale. Range: 0 - 1000 as a percentage. |
|
read/write |
The warp bend percentage. Range: -100 to 100. |
||
read/write |
The warp direction. |
||
read/write |
The warp horizontal distortion percentage. Range: -100 to 100. |
||
read/write |
The style of warp. |
||
read/write |
The warp vertical distortion percentage. Range: -100 to 100. |
||
read/write |
The width of the bounding box for paragraph text. |
undefined convertToShape ()
Converts the text object and its containing layer to a fill layer with the text changed to a clipping path.
undefined createPath ()
Creates a clipping path from the outlines of the actual text items (such as letters or words).
ArtLayer.textItem