Guides

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

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
length 数値オブジェクト数

メソッド

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

Guide

ガイド

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

Ver.プロパティR/O
[12][13][14][15]
[16][17][18][19]
parent Spread, MasterSpread
[12][13][14][15]
[16][17][18][19]
parentPage Page
[12][13][14][15]
[16][17][18][19]
eventListeners EventListeners
[12][13][14][15]
[16][17][18][19]
events Events

プロパティ

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

メソッド

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

クラス

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