Class: BitmapDataChannel

BitmapDataChannel

BitmapDataChannel クラスは、赤、青、緑、またはアルファ透明度の
いずれのチャンネルを使用するかを示す定数値の列挙です。
メソッドを呼び出すとき、ビット単位の OR 演算子(|)を使って
BitmapDataChannel 定数を結合すれば、複数のカラーチャンネルを指定することができます。

The BitmapDataChannel class is an enumeration of constant values that indicate
which channel to use: red, blue, green, or alpha transparency.
When you call some methods, you can use the bitwise OR operator (|)
to combine BitmapDataChannel constants to indicate multiple color channels.

new next2d.display.BitmapDataChannel ()

Members

next2d.display.BitmapDataChannel.ALPHA staticconstant

アルファチャンネルです。
The alpha channel.

Default Value:
  • 8

next2d.display.BitmapDataChannel.BLUE staticconstant

青チャンネルです。
The blue channel.

Default Value:
  • 4

next2d.display.BitmapDataChannel.GREEN staticconstant

緑チャンネルです。
The green channel.

Default Value:
  • 2

next2d.display.BitmapDataChannel.namespace staticconstant

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

Default Value:
  • next2d.display.BitmapDataChannel

next2d.display.BitmapDataChannel.RED staticconstant

赤チャンネルです。
The red channel.

Default Value:
  • 1

namespace constant

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

Default Value:
  • next2d.display.BitmapDataChannel

Methods

next2d.display.BitmapDataChannel.toString ()string static

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

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

toString ()string

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

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