パッケージflash.display
クラスpublic final class SpreadMethod
継承SpreadMethod Inheritance Object

言語バージョン : ActionScript 3.0
Player のバージョン : Flash Player 9

SpreadMethod クラスは、spreadMethod パラメータ (Graphics クラスの beginGradientFill() メソッドおよび lineGradientStyle() メソッドのパラメータ) の値を提供します。

以下は、さまざまな spread メソッドを使用して同じグラデーションの塗りを行う例です。

SpreadMethod.PADSpreadMethod.REFLECTSpreadMethod.REPEAT

関連項目

flash.display.Graphics.beginGradientFill()
flash.display.Graphics.lineGradientStyle()


パブリック プロパティ
 プロパティ定義元
 Inheritedconstructor : Object
特定のオブジェクトインスタンスのクラスオブジェクトまたはコンストラクタ関数への参照です。
Object
 Inheritedprototype : Object
[static] クラスまたは関数オブジェクトのプロトタイプオブジェクトへの参照です。
Object
パブリック メソッド
 メソッド定義元
 Inherited
オブジェクトに指定されたプロパティが定義されているかどうかを示します。
Object
 Inherited
Object クラスのインスタンスが、パラメータとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。
Object
 Inherited
指定されたプロパティが存在し列挙できるかどうかを示します。
Object
 Inherited
ループ処理に対するダイナミックプロパティの可用性を設定します。
Object
 Inherited
指定されたオブジェクトのストリング表現を返します。
Object
 Inherited
指定されたオブジェクトのプリミティブな値を返します。
Object
パブリック 定数
 定数定義元
  PAD : String = "pad"
[static] グラデーションで spread メソッド pad を使用することを指定します。
SpreadMethod
  REFLECT : String = "reflect"
[static] グラデーションで spread メソッド reflect を使用することを指定します。
SpreadMethod
  REPEAT : String = "repeat"
[static] グラデーションで spread メソッド repeat を使用することを指定します。
SpreadMethod
定数の詳細
PAD定数
public static const PAD:String = "pad"

言語バージョン : ActionScript 3.0
Player のバージョン : Flash Player 9

グラデーションで spread メソッド pad を使用することを指定します。

REFLECT定数 
public static const REFLECT:String = "reflect"

言語バージョン : ActionScript 3.0
Player のバージョン : Flash Player 9

グラデーションで spread メソッド reflect を使用することを指定します。

REPEAT定数 
public static const REPEAT:String = "repeat"

言語バージョン : ActionScript 3.0
Player のバージョン : Flash Player 9

グラデーションで spread メソッド repeat を使用することを指定します。





 

このページに新しいコメントが追加された場合に、電子メールでの通知を希望する。 | コメントレポート

現在のページ: http://livedocs.adobe.com/flash/9.0_jp/ActionScriptLangRefV3/flash/display/SpreadMethod.html