Guides

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

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
length 数値オブジェクト数

メソッド

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

Guide

ガイド

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

Ver.プロパティR/O
[7][7.5][8][9]
[10][11][12][13]
parent Spread, MasterSpread
[7][7.5][8][9]
[10][11][12][13]
parentPage Page
[7][7.5][8][9]
[10][11][12][13]
eventListeners EventListeners
[7][7.5][8][9]
[10][11][12][13]
events Events

プロパティ

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

メソッド

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

[12][13]
transformValuesOf(in) Array( TransformationMatrix )変形の値を取得
in CoordinateSpaces
CoordinateSpaces
Ver.10進数/文字列説明
[7][7.5][8][9]
[10][11][12][13]
INNER_COORDINATES2021222766
xyin
自身を基準とした座標空間
[8][9]
[10][11][12][13]
PAGE_COORDINATES2021224551
xypg
ページ基準の座標空間
[7][7.5][8][9]
[10][11][12][13]
PARENT_COORDINATES2021224545
xypa
親オブジェクト基準の座標空間
[7][7.5][8][9]
[10][11][12][13]
PASTEBOARD_COORDINATES2021224546
xypb
ペーストボード基準の座標空間
[7][7.5][8][9]
[10][11][12][13]
SPREAD_COORDINATES2021225328
xysp
スプレッド基準の座標空間
使用する座標空間

クラス

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