GraphicLayers

GraphicLayer(オブジェクトレイヤー)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] anyItem() GraphicLayerどれかのオブジェクトを返す
[18][19][20][21] count() 数値要素数を返す
[18][19][20][21] everyItem() GraphicLayer (Array)全てのオブジェクトを返す
[18][19][20][21] firstItem() GraphicLayer最初のオブジェクトを返す
[18][19][20][21] item(index) GraphicLayerインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[18][19][20][21] itemByID(id) GraphicLayerIDで指定したオブジェクトを返す
id 数値
[18][19][20][21] itemByName(name) GraphicLayer名前で指定したオブジェクトを返す
name 文字列値
[18][19][20][21] itemByRange(from, to) GraphicLayer (Array)範囲で指定したオブジェクトを返す
from GraphicLayer, 数値, 文字列値範囲の開始
to GraphicLayer, 数値, 文字列値範囲の終了
[18][19][20][21] lastItem() GraphicLayer最後のオブジェクトを返す
[18][19][20][21] middleItem() GraphicLayer真ん中のオブジェクトを返す
[18][19][20][21] nextItem(obj) GraphicLayer一つ後のオブジェクトを返す
obj GraphicLayer位置の基準になるオブジェクト
[18][19][20][21] previousItem(obj) GraphicLayer一つ前のオブジェクトを返す
obj GraphicLayer位置の基準になるオブジェクト
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す

GraphicLayer

オブジェクトレイヤー

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

Ver.プロパティR/O
[18][19][20][21] parent GraphicLayerOption, GraphicLayer
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events
[18][19][20][21] graphicLayers GraphicLayers

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] adjustmentLayer 真偽値調整レイヤーかどうか
[18][19][20][21] currentVisibility 真偽値If true, the layer is visible in the document.
[18][19][20][21] exportState 真偽値If true, the export state is on.
[18][19][20][21] 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.
[18][19][20][21] hasExportState 真偽値If true, the layer has an export state.
[18][19][20][21] hasPrintState 真偽値If true, the layer has a print state.
[18][19][20][21] hasViewState 真偽値If true, the layer has a view state.
[18][19][20][21] id 数値オブジェクトのID
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] locked 真偽値ロックされているか
[18][19][20][21] name 文字列値オブジェクトの名前
[18][19][20][21] 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.
[18][19][20][21] printState 真偽値If true, the print state is on.
[18][19][20][21] properties Object
[18][19][20][21] sectionDividerLayer 真偽値If true, the layer is a section divider layer.
[18][19][20][21] separatorLayer 真偽値If true, the layer is a separator layer.
[18][19][20][21] viewState 真偽値If true, the view state is on.

メソッド

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