Ver. | プロパティ名 | R/O | 値 | 説明 |
  
   |
centerBracket | ○ |
数値型
| センター位置 |
  
   |
contents | |
文字列型, TextFrameContents.PLACEHOLDER_TEXT(1346925688), SpecialCharacters
| 内容(テキスト) |
  
   |
endBracket | |
数値型
| The end of the type on a path. Note: Additional text becomes overset text unless the text is linked to another path, text frame. |
  
   |
endTextFrame | ○ |
TextFrame, TextPath
| 連結されている最後のテキストフレーム(テキストパス)。連結されていなければnull。 |
  
   |
flipPathEffect | |
FlipValues
FlipValues |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
FLIPPED | 2036755568 | Flips the text across the path. |
  
   |
NOT_FLIPPED | 1852206192 | No flip effect applied. |
  
   |
UNDEFINED_FLIP_VALUE | 1969646704 | Undefined flip effect. |
| The flip effect applied to the type on a path. |
  
   |
id | ○ |
数値型
| オブジェクトのID |
  
   |
index | ○ |
数値型
| インデックス |
  
   |
isValid | ○ |
ブール型
| |
  
   |
label | |
文字列型
| スクリプトラベル |
  
   |
name | |
文字列型
| オブジェクトの名前。ラベルのエイリアス |
  
   |
nextTextFrame | |
TextFrame, TextPath
| 連結されている次のテキストフレーム(テキストパス)。連結されていなければnull。 |
  
   |
overflows | ○ |
ブール型
| 文字があふれているかどうか |
  
   |
pathAlignment | |
PathTypeAlignments
PathTypeAlignments |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
BOTTOM_PATH_ALIGNMENT | 1885430367 | The text is aligned to the bottom of the path stroke. |
  
   |
CENTER_PATH_ALIGNMENT | 1885430623 | The text is aligned to the center of the path stroke. |
  
   |
TOP_PATH_ALIGNMENT | 1885434975 | The text is aligned to the top of the path stroke. |
| The alignment of the type on a path. |
  
   |
pathEffect | |
TextPathEffects
TextPathEffects |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
GRAVITY_PATH_EFFECT | 1601201767 | 引力 |
  
   |
RAINBOW_PATH_EFFECT | 1601201778 | 虹 |
  
   |
RIBBON_PATH_EFFECT | 1601201715 | 3D リボン |
  
   |
SKEW_PATH_EFFECT | 1601201779 | 歪み |
  
   |
STAIR_STEP_PATH_EFFECT | 1601205107 | 階段 |
| The effect applied to the type on a path. |
  
   |
pathSpacing | |
数値型
| The spacing applied to the type on a path. |
  
   |
previousTextFrame | |
TextFrame, TextPath
| 連結されている前のテキストフレーム(テキストパス)。連結されていなければnull。 |
  
   |
startBracket | |
数値型
| The location of the start of the type on the path, expressed in points. Note: 0 is the first point on the path. |
  
   |
startTextFrame | ○ |
TextFrame, TextPath
| 連結されている最初のテキストフレーム(テキストパス)。連結されていなければnull。 |
  
   |
textAlignment | |
TextTypeAlignments
TextTypeAlignments |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ABOVE_RIGHT_EM_BOX_TEXT_ALIGNMENT | 1952543333 | 仮想ボディの上 |
  
   |
ABOVE_RIGHT_ICF_BOX_TEXT_ALIGNMENT | 1952543337 | 平均字面の上 |
  
   |
ASCENDER_TEXT_ALIGNMENT | 1952538995 | アセンダ(日本語版にはない) |
  
   |
BASELINE_TEXT_ALIGNMENT | 1952539244 | 欧文ベースライン |
  
   |
BELOW_LEFT_EM_BOX_TEXT_ALIGNMENT | 1952607333 | 仮想ボディの下 |
  
   |
BELOW_LEFT_ICF_BOX_TEXT_ALIGNMENT | 1952607337 | 平均字面の下 |
  
   |
CENTER_TEXT_ALIGNMENT | 1952539508 | 中央 |
  
   |
DESCENDER_TEXT_ALIGNMENT | 1952539763 | ディセンダ(日本語版にはない) |
| |
  
   |
textFrameIndex | ○ |
数値型
| The index of the text frame within the story. |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
changeGlyph([reverseOrder]) | Text | 字形の置換 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
changeGrep([reverseOrder]) | Text | 正規表現置換 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
changeText([reverseOrder]) | Text | テキストの置換 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
changeTransliterate([reverseOrder]) | Text | 文字種変換の置換 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
extractLabel(key) | 文字列型 | キーに関連づけられたラベルを取得 |
| key |
文字列型
| | キー |
  
   |
findGlyph([reverseOrder]) | Text | 字形の検索 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
findGrep([reverseOrder]) | Text | 正規表現検索 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
findText([reverseOrder]) | Text | テキストの検索 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
findTransliterate([reverseOrder]) | Text | 文字種変換の検索 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
getElements() | TextPath | |
  
   |
insertLabel(key, value) | なし | キーに関連づけられたラベルを設定 |
| key |
文字列型
| | キー |
| value |
文字列型
| | ラベルの値 |
  
   |
remove() | なし | 削除 |
  
   |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
search([for], [kanaSensitive], [widthSensitive], [wholeWord], [caseSensitive], [replacingWith], [withFindAttributes], [withChangeAttributes]) | Text | 検索・置換の実行 |
| [for] |
文字列型
| | 検索文字列 |
| [kanaSensitive] |
ブール型
| | かな・カナを区別 |
| [widthSensitive] |
ブール型
| | 全角・半角を区別 |
| [wholeWord] |
ブール型
| | 単語として検索 |
| [caseSensitive] |
ブール型
| | 大文字・小文字を区別 |
| [replacingWith] |
文字列型
| | 置換文字列 |
| [withFindAttributes] |
Object
| | |
| [withChangeAttributes] |
Object
| | |
  
   |
toSource() | 文字列型 | |
  
   |
toSpecifier() | 文字列型 | |