Translation:Tint
From IDMLWiki
Contents |
濃淡
濃淡は、カラーをパーセントで指定したものです。濃淡のアピアランスは、BaseColor属性(ベースになるカラーを参照する)とTintValue属性(ベースカラーの濃度パーセント)で決まります。濃淡と、ベースカラーとの関係については、InDesignのドキュメントを参照してください。
スキーマの例60 Tint
Tint_Object = element Tint {
attribute Self { xsd:string },
attribute TintValue{ xsd:double {minInclusive="0" maxInclusive="100"} }?,
attribute BaseColor{ xsd:string },
attribute Name { xsd:string },
attribute ColorOverride{ ColorOverride_EnumValue }?,
attribute SpotInkAliasSpotColorReference{ xsd:string }?,
attribute AlternateSpace{ ColorSpace_EnumValue }?,
attribute AlternateColorValue{ list { xsd:double * } }?,
attribute ColorEditable{ xsd:boolean }?,
attribute ColorRemovable{ xsd:boolean }?,
attribute Visible { xsd:boolean }?,
attribute SwatchCreatorID{ xsd:int }?,
element Properties {element Label { element KeyValuePair{ KeyValuePair_TypeDef }*
}?
}?}
<Swatch>エレメントと共通の属性以外に、下記のものがあります。
| 名前 | 値 | 必須 | 説明 |
|---|---|---|---|
| AlternateColorValue | doubleのリスト(スペース区切り) | 変更されたカラー値。<Tint>の<ColorValue>は、AlternateSpace属性で設定されたカラースペースの出現順の、連続した値で定義される。AlternateSpaceがNoAlternateColorのときは、空白 | |
| AlternateSpace | ColorSpace_EnumValue | 変更するカラースペース。RGB、CMYK、LAB、MixedInkまたはNoAlternateColor | |
| BaseColor | string | ベースとなるカラー | |
| ColorOverride | ColorOverride_EnumValue | Normal、Specialpaper、Specialblack、Specialregistration、HiddenreservedまたはMixedinkparent。濃淡スウォッチを定義するときはNormal | |
| SpotInkAliasSpotColorReference | string | インキエイリアス。インキダイアログボックスにて設定。この属性にはオリジナルの特色インキを含む | |
| TintValue | double | ベースカラーの濃度パーセント。プロセスカラーでは、ベースカラーを構成する各プロセスインキのパーセント。RGBでは、各構成要素が、0.8 + 0.2またはr,g,b = tint* (r,g,b) + (1-tint)増やされる。Labカラーでは、RGBと同じ公式を使うが、Lに (1-tint) * 100.0加わる。 |
IDMLの例57 Tint
<Tint Self="Tint\[Black] 40%" TintValue=" 40" BaseColor=" Color\Black" Name="[Black] 40%" ColorOverride=" Normal" AlternateSpace=" NoAlternateColor" AlternateColorValue="" ColorEditable=" true" ColorRemovable=" true" Visible="true" SwatchCreatorID=" 7937"/>

