GraphicLayer(オブジェクトレイヤー)のコレクション
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| length | ○ | 数値 | オブジェクト数 |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| anyItem() | GraphicLayer | どれかのオブジェクトを返す | |||
| count() | 数値 | 要素数を返す | |||
| everyItem() | GraphicLayer (Array) | 全てのオブジェクトを返す | |||
| firstItem() | GraphicLayer | 最初のオブジェクトを返す | |||
| item(index) | GraphicLayer | インデックスまたは名前で指定したオブジェクトを返す | |||
| index | 数値, 文字列値 | インデックスまたは名前 | |||
| itemByID(id) | GraphicLayer | IDで指定したオブジェクトを返す | |||
| id | 数値 | ||||
| itemByName(name) | GraphicLayer | 名前で指定したオブジェクトを返す | |||
| name | 文字列値 | ||||
| itemByRange(from, to) | GraphicLayer (Array) | 範囲で指定したオブジェクトを返す | |||
| from | GraphicLayer, 数値, 文字列値 | 範囲の開始 | |||
| to | GraphicLayer, 数値, 文字列値 | 範囲の終了 | |||
| lastItem() | GraphicLayer | 最後のオブジェクトを返す | |||
| middleItem() | GraphicLayer | 真ん中のオブジェクトを返す | |||
| nextItem(obj) | GraphicLayer | 一つ後のオブジェクトを返す | |||
| obj | GraphicLayer | 位置の基準になるオブジェクト | |||
| previousItem(obj) | GraphicLayer | 一つ前のオブジェクトを返す | |||
| obj | GraphicLayer | 位置の基準になるオブジェクト | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
オブジェクトレイヤー
| Ver. | プロパティ | R/O | 値 |
|---|---|---|---|
| parent | ○ | GraphicLayerOption, GraphicLayer | |
| eventListeners | ○ | EventListeners | |
| events | ○ | Events | |
| graphicLayers | ○ | GraphicLayers | |
| Ver. | プロパティ名 | R/O | 値 | 説明 |
|---|---|---|---|---|
| adjustmentLayer | ○ | 真偽値 | 調整レイヤーかどうか | |
| currentVisibility | 真偽値 | If true, the layer is visible in the document. | ||
| exportState | ○ | 真偽値 | If true, the export state is on. | |
| fxLayer | ○ | 真偽値 | If true, layer effects have been applied to the layer. Note: Must occur in the script before overriding the visibility state of the layer with a current visibility statement. | |
| hasExportState | ○ | 真偽値 | If true, the layer has an export state. | |
| hasPrintState | ○ | 真偽値 | If true, the layer has a print state. | |
| hasViewState | ○ | 真偽値 | If true, the layer has a view state. | |
| id | ○ | 数値 | オブジェクトのID | |
| index | ○ | 数値 | インデックス | |
| isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |
| locked | ○ | 真偽値 | ロックされているか | |
| name | ○ | 文字列値 | オブジェクトの名前 | |
| originalVisibility | ○ | 真偽値 | Returns the visibility setting set for the layer before the graphic file was imported. Note: Must occur in the script before overriding the visibility state with a current visibility statement. | |
| printState | ○ | 真偽値 | If true, the print state is on. | |
| properties | Object | |||
| sectionDividerLayer | ○ | 真偽値 | If true, the layer is a section divider layer. | |
| separatorLayer | ○ | 真偽値 | If true, the layer is a separator layer. | |
| viewState | ○ | 真偽値 | If true, the view state is on. |
| Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
|---|---|---|---|---|---|
| パラメータ | 値 | パラメータの説明 | |||
| addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| getElements() | Array( GraphicLayer ) | オブジェクト参照を返す | |||
| removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||
| eventType | 文字列値 | ||||
| handler | ファイル, JavaScript関数 | ||||
| [captures] | 真偽値 | (廃止) | |||
| toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
| toSpecifier() | 文字列値 | Retrieves the object specifier. | |||