パッケージfl.motion
クラスpublic class AdjustColor
継承AdjustColor Inheritance Object

言語バージョン: ActionScript 3.0
ランタイムバージョン: AIR 1.0 Flash Player 9

AdjustColor クラスは、明度、コントラスト、色相および彩度などの様々な color プロパティを定義して、ColorMatrixFilter クラスをサポートします。AdjustColor フィルタを適用してオブジェクトを表示したり、ColorMatrixFilter クラスで使用する 4 つすべての color プロパティを表す 1 次元配列を生成したりすることもできます。

関連項目

flash.filters.ColorMatrixFilter


パブリックプロパティ
 プロパティ定義元
  brightness : Number
[書き込み専用] AdjustColor フィルタの明度を設定します。
AdjustColor
 Inheritedconstructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクタ関数への参照です。
Object
  contrast : Number
[書き込み専用] AdjustColor フィルタのコントラストを設定します。
AdjustColor
  hue : Number
[書き込み専用] AdjustColor フィルタの色相を設定します。
AdjustColor
 Inheritedprototype : Object
[静的] クラスまたは関数オブジェクトのプロトタイプオブジェクトへの参照です。
Object
  saturation : Number
[書き込み専用] AdjustColor フィルタの彩度を設定します。
AdjustColor
パブリックメソッド
 メソッド定義元
  
AdjustColor クラスは、ColorMatrixFilter をサポートする様々な color プロパティを定義します。
AdjustColor
  
4 つすべての AdjustColor プロパティが設定されているかどうかを検証します。
AdjustColor
  
4 つすべてのプロパティの値の 1 次元配列を返します。
AdjustColor
 Inherited
オブジェクトに指定されたプロパティが定義されているかどうかを示します。
Object
 Inherited
Object クラスのインスタンスが、パラメータとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。
Object
 Inherited
指定されたプロパティが存在し、列挙できるかどうかを示します。
Object
 Inherited
ループ処理に対するダイナミックプロパティの可用性を設定します。
Object
 Inherited
指定されたオブジェクトのストリング表現を返します。
Object
 Inherited
指定されたオブジェクトのプリミティブな値を返します。
Object
プロパティの詳細
brightnessプロパティ
brightness:Number  [書き込み専用]

言語バージョン: ActionScript 3.0
ランタイムバージョン: AIR 1.0 Flash Player 9

AdjustColor フィルタの明度を設定します。有効な値の範囲は、-100 から 100 です。



実装
    public function set brightness(value:Number):void
contrastプロパティ 
contrast:Number  [書き込み専用]

言語バージョン: ActionScript 3.0
ランタイムバージョン: AIR 1.0 Flash Player 9

AdjustColor フィルタのコントラストを設定します。有効な値の範囲は、-100 から 100 です。



実装
    public function set contrast(value:Number):void
hueプロパティ 
hue:Number  [書き込み専用]

言語バージョン: ActionScript 3.0
ランタイムバージョン: AIR 1.0 Flash Player 9

AdjustColor フィルタの色相を設定します。有効な値の範囲は、-180 から 180 です。



実装
    public function set hue(value:Number):void
saturationプロパティ 
saturation:Number  [書き込み専用]

言語バージョン: ActionScript 3.0
ランタイムバージョン: AIR 1.0 Flash Player 9

AdjustColor フィルタの彩度を設定します。有効な値の範囲は、-100 から 100 です。



実装
    public function set saturation(value:Number):void
コンストラクタの詳細
AdjustColor()コンストラクタ
public function AdjustColor()

言語バージョン: ActionScript 3.0
ランタイムバージョン: AIR 1.0 Flash Player 9

AdjustColor クラスは、ColorMatrixFilter をサポートする様々な color プロパティを定義します。

関連項目

メソッドの詳細
AllValuesAreSet()メソッド
public function AllValuesAreSet():Boolean

言語バージョン: ActionScript 3.0
ランタイムバージョン: AIR 1.0 Flash Player 9

4 つすべての AdjustColor プロパティが設定されているかどうかを検証します。

戻り値
Boolean — 4 つすべての AdjustColor プロパティが設定されている場合は、ブール値の true を返します。それ以外の場合は、false を返します。
CalculateFinalFlatArray()メソッド 
public function CalculateFinalFlatArray():Array

言語バージョン: ActionScript 3.0
ランタイムバージョン: AIR 1.0 Flash Player 9

4 つすべてのプロパティの値の 1 次元配列を返します。

戻り値
Arrayflash.filters.ColorMatrixFilter クラスで使用する、4 つすべての AdjustColor プロパティを表す 20 の数値の配列です。

関連項目