Paths

Path(パス)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[12][13][14][15]
[16][17][18][19]
add([withProperties]) Path新しいオブジェクトを作成し、それを返す
[withProperties] Objectプロパティを設定
[12][13][14][15]
[16][17][18][19]
anyItem() Pathどれかのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
count() 数値要素数を返す
[12][13][14][15]
[16][17][18][19]
everyItem() Array( Path )全てのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
firstItem() Path最初のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
item(index) Pathインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[12][13][14][15]
[16][17][18][19]
itemByRange(from, to) Array( Path )範囲で指定したオブジェクトを返す
from Path, 数値, 文字列値範囲の開始
to Path, 数値, 文字列値範囲の終了
[12][13][14][15]
[16][17][18][19]
lastItem() Path最後のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
middleItem() Path真ん中のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
nextItem(obj) Path一つ後のオブジェクトを返す
obj Path位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
previousItem(obj) Path一つ前のオブジェクトを返す
obj Path位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
toSource() 文字列値ソースコードを表す文字列を返す

Path

パス

プロパティ(parentとその逆)

Ver.プロパティR/O
[12]
parent SplineItem, Polygon, GraphicLine, Rectangle, Oval, TextFrame, MediaItem, Sound, Movie, Button, MultiStateObject, ClippingPathSettings, TextWrapPreference
[13][14][15]
[16][17][18][19]
parent SplineItem, Polygon, GraphicLine, Rectangle, Oval, TextFrame, EndnoteTextFrame, MediaItem, Sound, Movie, Button, MultiStateObject, ClippingPathSettings, TextWrapPreference
[12][13][14][15]
[16][17][18][19]
eventListeners EventListeners
[12][13][14][15]
[16][17][18][19]
events Events
[12][13][14][15]
[16][17][18][19]
pathPoints PathPoints

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
entirePath [[ anchorX1, anchorY1 ], ... ] または [[[ leftDirectionX1, leftDirectionY1 ], [ anchorX1, anchorY1 ], [ rightDirectionX1, rightDirectionY1 ]], ... ]パスポイントのリスト
[12][13][14][15]
[16][17][18][19]
index 数値インデックス
[12][13][14][15]
[16][17][18][19]
isValid 真偽値オブジェクトが有効かどうか
[12][13][14][15]
[16][17][18][19]
pathType PathType
PathType
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
CLOSED_PATH1668051812
clsd
The path is a closed path.
[12][13][14][15]
[16][17][18][19]
OPEN_PATH1869639280
opnp
The path is an open path.
The path type.
[12][13][14][15]
[16][17][18][19]
properties Object

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[12][13][14][15]
[16][17][18][19]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[12][13][14][15]
[16][17][18][19]
getElements() Array( Path )オブジェクト参照を返す
[12][13][14][15]
[16][17][18][19]
remove() なし削除
[12][13][14][15]
[16][17][18][19]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[12][13][14][15]
[16][17][18][19]
reverse() なしパスの反転
[12][13][14][15]
[16][17][18][19]
toSource() 文字列値ソースコードを表す文字列を返す
[12][13][14][15]
[16][17][18][19]
toSpecifier() 文字列値Retrieves the object specifier.