Name | Type | Default | Description |
---|---|---|---|
width | number | 0 | optional |
height | number | 0 | optional |
transparent | boolean | true | optional |
color | number | 0xffffffff | optional |
Members
指定されたクラスの空間名を返します。
Returns the space name of the specified class.- Default Value:
- next2d.display.BitmapData
Canvasクラス利用して BitmapData を生成します。
Use the Canvas class to generate BitmapData.ビットマップイメージの高さ(ピクセル単位)です。
The height of the bitmap image in pixels.Imageクラスを利用して BitmapData を生成します。
Use the Image class to generate BitmapData.指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.- Default Value:
- next2d.display.BitmapData
ビットマップイメージがピクセル単位の透明度をサポートするかどうかを定義します。
Defines whether the bitmap image supports per-pixel transparency.ビットマップイメージの幅(ピクセル単位)です。
The width of the bitmap image in pixels.
Methods
指定されたクラスのストリングを返します。
Returns the string representation of the specified class.- Default Value:
- [class BitmapData]
Returns:
Type Description string Returns:
Type Description void Name Type Default Description source
DisplayObject matrix
Matrix null optional color_transform
ColorTransform null optional blend_mode
string BlendMode.NORMAL optional clip_rect
Rectangle null optional smoothing
boolean false optional Returns:
Type Description void Returns:
Type Description CanvasRenderingContext2D Returns:
Type Description string 指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.- Default Value:
- [object BitmapData]
Returns:
Type Description string Returns:
Type Description Uint8Array