Class: SpreadMethod

SpreadMethod

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

The SpreadMethod class provides values for the spreadMethod parameter
in the beginGradientFill() and lineGradientStyle() methods of the Graphics class.

new next2d.display.SpreadMethod ()

Members

next2d.display.SpreadMethod.namespace staticconstant

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

Default Value:
  • next2d.display.SpreadMethod

next2d.display.SpreadMethod.PAD staticconstant

グラデーションで spread メソッド pad を使用することを指定します。
Specifies that the gradient use the pad spread method.

Default Value:
  • pad

next2d.display.SpreadMethod.REFLECT staticconstant

グラデーションで spread メソッド reflect を使用することを指定します。
Specifies that the gradient use the reflect spread method.

Default Value:
  • reflect

next2d.display.SpreadMethod.REPEAT staticconstant

グラデーションで spread メソッド repeat を使用することを指定します。
Specifies that the gradient use the repeat spread method.

Default Value:
  • repeat

namespace constant

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

Default Value:
  • next2d.display.SpreadMethod

Methods

next2d.display.SpreadMethod.toString ()string static

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

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

toString ()string

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

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