PathPoint(アンカーポイント)のコレクション
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| length | ○ | 数値 | オブジェクト数 |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| add([withProperties]) | PathPoint | 新しいオブジェクトを作成し、それを返す | |||
| [withProperties] | Object | プロパティを設定 | |||
| anyItem() | PathPoint | どれかのオブジェクトを返す | |||
| count() | 数値 | 要素数を返す | |||
| everyItem() | PathPoint (Array) | 全てのオブジェクトを返す | |||
| firstItem() | PathPoint | 最初のオブジェクトを返す | |||
| item(index) | PathPoint | インデックスまたは名前で指定したオブジェクトを返す | |||
| index | 数値, 文字列値 | インデックスまたは名前 | |||
| itemByRange(from, to) | PathPoint (Array) | 範囲で指定したオブジェクトを返す | |||
| from | PathPoint, 数値, 文字列値 | 範囲の開始 | |||
| to | PathPoint, 数値, 文字列値 | 範囲の終了 | |||
| lastItem() | PathPoint | 最後のオブジェクトを返す | |||
| middleItem() | PathPoint | 真ん中のオブジェクトを返す | |||
| nextItem(obj) | PathPoint | 一つ後のオブジェクトを返す | |||
| obj | PathPoint | 位置の基準になるオブジェクト | |||
| previousItem(obj) | PathPoint | 一つ前のオブジェクトを返す | |||
| obj | PathPoint | 位置の基準になるオブジェクト | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
アンカーポイント
| Ver. | プロパティ | R/O | 値 |
|---|---|---|---|
| parent | ○ | Path | |
| eventListeners | ○ | EventListeners | |
| events | ○ | Events | |
| Ver. | プロパティ名 | R/O | 値 | 説明 | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| anchor | [ x, y ] | アンカーポイントの座標。x,yは数値または長さ値 | ||||||||||||||||||||||||||
| index | ○ | 数値 | インデックス | |||||||||||||||||||||||||
| isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |||||||||||||||||||||||||
| leftDirection | [ x, y ] | ハンドルの座標。x,yは数値または長さ値 | ||||||||||||||||||||||||||
| pointType |
PointType
| |||||||||||||||||||||||||||
| properties | Object | |||||||||||||||||||||||||||
| rightDirection | [ x, y ] | ハンドルの座標。x,yは数値または長さ値 | ||||||||||||||||||||||||||
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||||||||||||||||||
| addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||||||||||||||||||
| eventType | 文字列値 | ||||||||||||||||||||
| handler | ファイル, JavaScript関数 | ||||||||||||||||||||
| [captures] | 真偽値 | (廃止) | |||||||||||||||||||
| getElements() | Array( PathPoint ) | オブジェクト参照を返す | |||||||||||||||||||
| join(reference, [given]) | なし | パスの結合 | |||||||||||||||||||
| reference | PathPoint | 位置の基準になるアンカーポイント | |||||||||||||||||||
| [given] |
JoinOptions
| ||||||||||||||||||||
| remove() | なし | 削除 | |||||||||||||||||||
| removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||||||||||||||||||
| eventType | 文字列値 | ||||||||||||||||||||
| handler | ファイル, JavaScript関数 | ||||||||||||||||||||
| [captures] | 真偽値 | (廃止) | |||||||||||||||||||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||||||||||||||||||
| toSpecifier() | 文字列値 | Retrieves the object specifier. | |||||||||||||||||||