Class: JointStyle

JointStyle

JointStyle クラスは、線の描画で使用される結合スタイルを指定する定数値の列挙です。
これらの定数は、joints パラメーター(next2d.display.Graphics.lineStyle() メソッドのパラメーター)の値として使用されます。
このメソッドは、マイター、ラウンド、ベベルの 3 種類の結合をサポートします。

The JointStyle class is an enumeration of constant values that specify the joint style to use in drawing lines.
These constants are provided for use as values in the joints parameter of the next2d.display.Graphics.lineStyle() method.
The method supports three types of joints: miter, round, and bevel, as the following

new next2d.display.JointStyle ()

Members

next2d.display.JointStyle.BEVEL staticconstant

next2d.display.Graphics.lineStyle() メソッドの joints パラメーターでベベル結合を指定します。
Specifies beveled joints in the joints parameter of
the next2d.display.Graphics.lineStyle() method.

Default Value:
  • bevel

next2d.display.JointStyle.MITER staticconstant

next2d.display.Graphics.lineStyle() メソッドの joints パラメーターでマイター結合を指定します。
Specifies mitered joints in the joints parameter of
the next2d.display.Graphics.lineStyle() method.

Default Value:
  • miter

next2d.display.JointStyle.namespace staticconstant

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

Default Value:
  • next2d.display.JointStyle

next2d.display.JointStyle.ROUND staticconstant

next2d.display.Graphics.lineStyle() メソッドの joints パラメーターでラウンド結合を指定します。
Specifies round joints in the joints parameter of
the next2d.display.Graphics.lineStyle() method.

Default Value:
  • round

namespace constant

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

Default Value:
  • next2d.display.JointStyle

Methods

next2d.display.JointStyle.toString ()string static

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

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

toString ()string

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

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