Class: CapsStyle

CapsStyle

CapsStyle クラスは、線の描画で使用されるキャップのスタイルを指定する定数値の列挙です。
この定数は、caps パラメーター(next2d.display.Graphics.lineStyle() メソッドのパラメーター)の値として使用されます。

he CapsStyle class is an enumeration of constant values that specify the caps style to use in drawing lines.
The constants are provided for use as values in the caps parameter of the next2d.display.Graphics.lineStyle() method.

new next2d.display.CapsStyle ()

Members

next2d.display.CapsStyle.namespace staticconstant

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

Default Value:
  • next2d.display.CapsStyle

next2d.display.CapsStyle.NONE staticconstant

flash.display.Graphics.lineStyle() メソッドの caps パラメーターで
キャップなしを指定するのに使用します。
Used to specify no caps in the caps parameter of the
flash.display.Graphics.lineStyle() method.

Default Value:
  • none

next2d.display.CapsStyle.ROUND staticconstant

flash.display.Graphics.lineStyle() メソッドの caps パラメーターで
丸いキャップを指定するのに使用します。
Used to specify round caps in the caps parameter of the
flash.display.Graphics.lineStyle() method.

Default Value:
  • round

next2d.display.CapsStyle.SQUARE staticconstant

flash.display.Graphics.lineStyle() メソッドの caps パラメーターで
四角形のキャップを指定するのに使用します。
Used to specify square caps in the caps parameter of the
flash.display.Graphics.lineStyle() method.

Default Value:
  • square

namespace constant

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

Default Value:
  • next2d.display.CapsStyle

Methods

next2d.display.CapsStyle.toString ()string static

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

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

toString ()string

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

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