Class: GradientType

GradientType

GradientType クラスは、type パラメーター(next2d.display.Graphics クラスの beginGradientFill() メソッドおよび
lineGradientStyle() メソッド内のパラメーター)に値を提供します。

The GradientType class provides values for the type parameter in the beginGradientFill()
and lineGradientStyle() methods of the flash.display.Graphics class.

new next2d.display.GradientType ()

Members

next2d.display.GradientType.LINEAR staticconstant

線状グラデーションの塗りを指定する値です。
Value used to specify a linear gradient fill.

Default Value:
  • linear

next2d.display.GradientType.namespace staticconstant

指定されたクラスの空間名を返します。
Returns the space name of the specified class.

Default Value:
  • next2d.display.GradientType

next2d.display.GradientType.RADIAL staticconstant

放射状グラデーションの塗りを指定する値です。
Value used to specify a radial gradient fill.

Default Value:
  • radial

namespace constant

指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.

Default Value:
  • next2d.display.GradientType

Methods

next2d.display.GradientType.toString ()string static

指定されたクラスのストリングを返します。
Returns the string representation of the specified class.

Default Value:
  • [class GradientType]
Returns:
TypeDescription
string

toString ()string

指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.

Default Value:
  • [object GradientType]
Returns:
TypeDescription
string