Guides

Guide(ガイド)のコレクション

プロパティ

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

メソッド

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

Guide

ガイド

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

Ver.プロパティR/O
[18][19][20][21] parent Spread, MasterSpread
[18][19][20][21] parentPage Page
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] allowOverrides 真偽値マスターページ(親ページ)アイテムのオーバーライドを許可(通常ページのオブジェクトではエラー)
[18][19][20][21] fitToPage 真偽値If true, horizontal orientation guides stop at the edges of the specified page. If false, the guides extends across the width of the spread and into the pasteboard area.
[18][19][20][21] guideColor [ r, g, b ], UIColorsスマートガイドのカラー
[18][19][20][21] guideType GuideTypeOptions
GuideTypeOptions
Ver.プロパティ値/管理用文字説明
[18][19][20][21]LIQUID1735617635
gslc
Liquid guide.
[18][19][20][21]RULER1735618160
gsnp
Ruler guide (default).
The type of the guide.
[18][19][20][21] guideZone 長さ値The zone of the guide.
[18][19][20][21] id 数値オブジェクトのID
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] itemLayer Layerオブジェクトのあるレイヤー
[18][19][20][21] label 文字列値スクリプトラベル
[18][19][20][21] location 長さ値The location at which to place the guide relative to the current ruler zero point.
[18][19][20][21] locked 真偽値ロックされているか
[18][19][20][21] name 文字列値オブジェクトの名前 - label のエイリアス
[18][19][20][21] orientation HorizontalOrVertical
HorizontalOrVertical
Ver.プロパティ値/管理用文字説明
[18][19][20][21]HORIZONTAL1752134266
horz
横組み(横)
[18][19][20][21]VERTICAL1986359924
vert
縦組み(縦)
The orientation of the guide.
[18][19][20][21] overridden 真偽値オーバーライドしたオブジェクトかどうか
[18][19][20][21] overriddenMasterPageItem PageItem, Guide, Graphic, Movie, Soundオーバーライド元のページアイテム
[18][19][20][21] properties Object
[18][19][20][21] viewThreshold 数値The view magnification as a percentage below which guides are no longer displayed. (5 - 4000 %)

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] detach() なしオーバーライドされたマスターページアイテムをマスターから分離
[18][19][20][21] duplicate() Guide複製。複製されたオブジェクトを返す
[18][19][20][21] extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[18][19][20][21] getElements() Array( Guide )オブジェクト参照を返す
[18][19][20][21] insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[18][19][20][21] move([to], [by]) なし移動。ToまたはByが必要
[to] [ x, y ]移動先(座標値)。x, yは数値または長さ値
[by] [ x, y ]移動先(相対値)。x, yは数値または長さ値
[18][19][20][21] override(destinationPage) 作成されたオブジェクトマスターページアイテムの上書き(オーバーライド)
destinationPage Pageオーバーライド先のページ
[18][19][20][21] remove() なし削除
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] removeOverride() なしオーバーライドを削除
[18][19][20][21] resolve(location, in, [consideringRulerUnits]) varies=anyGet the coordinates of the given location in the specified coordinate system.
location varies=anyThe location requested. Can accept: Array of 2 Reals, AnchorPoint enumerator or Array of Arrays of 2 Reals, CoordinateSpaces enumerators, AnchorPoint enumerators, BoundingBoxLimits enumerators or Long Integers.
in CoordinateSpaces
CoordinateSpaces
Ver.プロパティ値/管理用文字説明
[18][19][20][21]INNER_COORDINATES2021222766
xyin
自身を基準とした座標空間
[18][19][20][21]PAGE_COORDINATES2021224551
xypg
ページ基準の座標空間
[18][19][20][21]PARENT_COORDINATES2021224545
xypa
親オブジェクト基準の座標空間
[18][19][20][21]PASTEBOARD_COORDINATES2021224546
xypb
ペーストボード基準の座標空間
[18][19][20][21]SPREAD_COORDINATES2021225328
xysp
スプレッド基準の座標空間
使用する座標空間
[consideringRulerUnits] 真偽値ルーラの単位を使うかどうか (既定値=false)
[18][19][20][21] select([existingSelection]) なし選択状態にする
[existingSelection] SelectionOptions
SelectionOptions
Ver.プロパティ値/管理用文字説明
[18][19][20][21]ADD_TO1633969202
add2
追加選択する
[18][19][20][21]REMOVE_FROM1919249734
remF
選択から削除する
[18][19][20][21]REPLACE_WITH1919250519
repW
置き換える
[18][19][20][21]SET_KEY1936028779
setk
整列のキーオブジェクトにする
既に選択されているものがあった場合 (既定値=SelectionOptions.REPLACE_WITH)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.
[18][19][20][21] transformValuesOf(in) Array( TransformationMatrix )変形の値を取得
in CoordinateSpaces
CoordinateSpaces
Ver.プロパティ値/管理用文字説明
[18][19][20][21]INNER_COORDINATES2021222766
xyin
自身を基準とした座標空間
[18][19][20][21]PAGE_COORDINATES2021224551
xypg
ページ基準の座標空間
[18][19][20][21]PARENT_COORDINATES2021224545
xypa
親オブジェクト基準の座標空間
[18][19][20][21]PASTEBOARD_COORDINATES2021224546
xypb
ペーストボード基準の座標空間
[18][19][20][21]SPREAD_COORDINATES2021225328
xysp
スプレッド基準の座標空間
使用する座標空間

クラス

プロパティ名値(文字列)説明
AFTER_PLACEafterPlaceDispatched after a Guide is placed. This event bubbles. This event is not cancelable.