Skip to main content

Bitmap

declare class Bitmap {}

Bitmap

Instance Method

constructor

declare class Bitmap {
constructor(width: number, height: number);
}
  • Description

    Create a new bitmap.

getWidth

declare class Bitmap {
getWidth(): number;
}
  • Description

    Returns the bitmap's width.

getHeight

declare class Bitmap {
getHeight(): number;
}
  • Description

    Returns the bitmap's height.