Class: InterpolationMethod

InterpolationMethod

InterpolationMethod クラスは、interpolationMethod パラメーター(Graphics.beginGradientFill()
および Graphics.lineGradientStyle() メソッドのパラメーター)の値を提供します。
このパラメーターは、グラデーションをレンダリングするときに使用する RGB スペースを決定します。

The InterpolationMethod class provides values for the interpolationMethod parameter
in the Graphics.beginGradientFill() and Graphics.lineGradientStyle() methods.
This parameter determines the RGB space to use when rendering the gradient.

new next2d.display.InterpolationMethod ()

Members

next2d.display.InterpolationMethod.LINEAR_RGB staticconstant

線形 RGB 補間メソッドを使用することを指定します。
Specifies that the linear RGB interpolation method should be used.

Default Value:
  • linearRGB

next2d.display.InterpolationMethod.namespace staticconstant

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

Default Value:
  • next2d.display.InterpolationMethod

next2d.display.InterpolationMethod.RGB staticconstant

RGB 補間メソッドを使用することを指定します。
Specifies that the RGB interpolation method should be used.

Default Value:
  • rgb

namespace constant

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

Default Value:
  • next2d.display.InterpolationMethod

Methods

next2d.display.InterpolationMethod.toString ()string static

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

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

toString ()string

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

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