MixedInk(混合インキ)のコレクション
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
length | ○ | 数値 | オブジェクト数 |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
add(inkList, inkPercentages, [withProperties]) | MixedInk | 新しいオブジェクトを作成し、それを返す | |||
inkList | Array( Ink ), MixedInkGroup | インキのリスト | |||
inkPercentages | Array( 数値 ) | 濃度( 0 - 100 % ) | |||
[withProperties] | Object | プロパティを設定 | |||
anyItem() | MixedInk | どれかのオブジェクトを返す | |||
count() | 数値 | 要素数を返す | |||
everyItem() | Array( MixedInk ) | 全てのオブジェクトを返す | |||
firstItem() | MixedInk | 最初のオブジェクトを返す | |||
item(index) | MixedInk | インデックスまたは名前で指定したオブジェクトを返す | |||
index | 数値, 文字列値 | インデックスまたは名前 | |||
itemByID(id) | MixedInk | IDで指定したオブジェクトを返す | |||
id | 数値 | ||||
itemByName(name) | MixedInk | 名前で指定したオブジェクトを返す | |||
name | 文字列値 | ||||
itemByRange(from, to) | Array( MixedInk ) | 範囲で指定したオブジェクトを返す | |||
from | MixedInk, 数値, 文字列値 | 範囲の開始 | |||
to | MixedInk, 数値, 文字列値 | 範囲の終了 | |||
lastItem() | MixedInk | 最後のオブジェクトを返す | |||
middleItem() | MixedInk | 真ん中のオブジェクトを返す | |||
nextItem(obj) | MixedInk | 一つ後のオブジェクトを返す | |||
obj | MixedInk | 位置の基準になるオブジェクト | |||
previousItem(obj) | MixedInk | 一つ前のオブジェクトを返す | |||
obj | MixedInk | 位置の基準になるオブジェクト | |||
toSource() | 文字列値 | ソースコードを表す文字列を返す |
混合インキ
Ver. | プロパティ | R/O | 値 |
---|---|---|---|
parent | ○ | Application, Document | |
parentColorGroup | ○ | ColorGroup | |
eventListeners | ○ | EventListeners | |
events | ○ | Events |
Ver. | プロパティ名 | R/O | 値 | 説明 | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
baseColor | ○ | MixedInkGroup | The mixed ink group that a mixed ink swatch is based on. | |||||||||||||||||||||||||||||
id | ○ | 数値 | オブジェクトのID | |||||||||||||||||||||||||||||
index | ○ | 数値 | インデックス | |||||||||||||||||||||||||||||
inkList | ○ | Array( Ink ) | ||||||||||||||||||||||||||||||
inkPercentages | Array( 数値 ) | インク濃度(%) | ||||||||||||||||||||||||||||||
isValid | ○ | 真偽値 | オブジェクトが有効かどうか | |||||||||||||||||||||||||||||
label | 文字列値 | スクリプトラベル | ||||||||||||||||||||||||||||||
model |
ColorModel
| |||||||||||||||||||||||||||||||
name | 文字列値 | オブジェクトの名前 | ||||||||||||||||||||||||||||||
properties | Object | |||||||||||||||||||||||||||||||
space |
ColorSpace
| カラースペース |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | |||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | (廃止) | |||
duplicate() | MixedInk | 複製。複製されたオブジェクトを返す | |||
extractLabel(key) | 文字列値 | キーに関連づけられた値を取得 | |||
key | 文字列値 | キー | |||
getElements() | Array( MixedInk ) | オブジェクト参照を返す | |||
insertLabel(key, value) | なし | キーに関連づけられた値を設定 | |||
key | 文字列値 | キー | |||
value | 文字列値 | 値 | |||
merge(with) | Swatch | スウォッチを結合 | |||
with | Array( Swatch ), Swatch, 文字列値 | 結合するスウォッチ | |||
remove([replacingWith]) | なし | 削除 | |||
[replacingWith] | Swatch | 置き換えるスウォッチ | |||
removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | |||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | (廃止) | |||
toSource() | 文字列値 | ソースコードを表す文字列を返す | |||
toSpecifier() | 文字列値 | Retrieves the object specifier. |