Path(パス)のコレクション
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() |
length | ○ | 数値 | オブジェクト数 |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
add([withProperties]) | Path | 新しいオブジェクトを作成し、それを返す | ||
[withProperties] | Object | プロパティの初期値を設定 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
anyItem() | Path | |||
![]() ![]() ![]() ![]() ![]() ![]() |
count() | 数値 | 要素数を返す | ||
![]() ![]() ![]() ![]() ![]() ![]() |
everyItem() | Array( Path ) | |||
![]() ![]() ![]() ![]() ![]() ![]() |
firstItem() | Path | 最初のオブジェクトを返す | ||
![]() ![]() ![]() ![]() ![]() ![]() |
item(index) | Path | インデックスまたは名前で指定したオブジェクトを返す | ||
index | 数値, 文字列値 | インデックスまたは名前 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
itemByRange(from, to) | Array( Path ) | 範囲で指定したオブジェクトを返す | ||
from | Path, 数値, 文字列値 | 範囲の開始 | |||
to | Path, 数値, 文字列値 | 範囲の終了 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
lastItem() | Path | 最後のオブジェクトを返す | ||
![]() ![]() ![]() ![]() ![]() ![]() |
middleItem() | Path | |||
![]() ![]() ![]() ![]() ![]() ![]() |
nextItem(obj) | Path | 一つ後のオブジェクトを返す | ||
obj | Path | 位置の基準になるオブジェクト | |||
![]() ![]() ![]() ![]() ![]() ![]() |
previousItem(obj) | Path | 一つ前のオブジェクトを返す | ||
obj | Path | 位置の基準になるオブジェクト | |||
![]() ![]() ![]() ![]() ![]() ![]() |
toSource() | 文字列値 | ソースコードを表示 |
パス
Ver. | プロパティ | R/O | 値 |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() |
parent | ○ | SplineItem, Polygon, GraphicLine, Rectangle, Oval, TextFrame, MediaItem, Sound, Movie, Button, MultiStateObject, ClippingPathSettings, TextWrapPreference |
![]() ![]() ![]() ![]() ![]() ![]() |
eventListeners | ○ | EventListeners |
![]() ![]() ![]() ![]() ![]() ![]() |
events | ○ | Events |
![]() ![]() ![]() ![]() ![]() ![]() |
pathPoints | ○ | PathPoints |
Ver. | プロパティ名 | R/O | 値 | 説明 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() |
entirePath | [[ anchorX1, anchorY1 ], ... ] または [[[ leftDirectionX1, leftDirectionY1 ], [ anchorX1, anchorY1 ], [ rightDirectionX1, rightDirectionY1 ]], ... ] | A list of the coordinates of all of the path points on the path, including anchor points and left- and right-direction points. When creating a path using this property, supply either a list of anchor point coordinates ([[x1, y1], [x2, y2], ...]) or a list of anchor point, left-direction point, and right-direction point coordinates ([[[x1, y1], [x2, y2], [x3, y3]], [[x4, y4], [x5, y5], [x6, y6]], ...]). Note: Providing only anchor points results in a path on which all of the path points are connected with straight line segments; supplying the positions of left- and right-direction points specifies curved line segments. Can return: Array of Arrays of 2 Units. | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
index | ○ | 数値 | インデックス | ||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
isValid | ○ | 真偽値 | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
pathType |
PathType
| The path type. | |||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() |
properties | Object |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | ||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | このパラメータは旧式です | |||
![]() ![]() ![]() ![]() ![]() ![]() |
getElements() | Array( Path ) | Resolves the object specifier, creating an array of object references. | ||
![]() ![]() ![]() ![]() ![]() ![]() |
remove() | なし | 削除 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | ||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | このパラメータは旧式です | |||
![]() ![]() ![]() ![]() ![]() ![]() |
reverse() | なし | パスの反転 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
toSource() | 文字列値 | ソースコードを表示 | ||
![]() ![]() ![]() ![]() ![]() ![]() |
toSpecifier() | 文字列値 | Retrieves the object specifier. |