Package: pumpkin.display

BitmapData


Description

BitmapData abstraction for the Texture2D class.



Constructors

BitmapData

BitmapData

Constructor

BitmapData

Constructor


Functions

clear

Clear entire texture with fill colour.

clear

apply

Clear entire texture with fill colour.

draw

[pro] Draw the source DisplayObject or Bitmap data onto the bitmap data.

getColor

Get color for a given x y coordinate.

setColor

Get color for a given x y coordinate.


Variables

MAX_TEXTURE_WIDTH

MAX_TEXTURE_HEIGHT

MIN_TEXTURE_WIDTH

MIN_TEXTURE_HEIGHT

width

Indicates bitmap width.

height

Indicates bitmap height.

potWidth

Indicates POT texture width.

potHeight

Indicates POT texture height.

texture

Indicates the underlying texture used.

textureMode

Indicates the texture mode.

transparent

Indicates bitmap transparency mode.