# Class: Bitmap

## Constructor

#### new Bitmap(x, y, width, height, imageType, bitmapData)

  Object contains all needed information about the bitmap.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `x` | number |
  `y` | number |
  `width` | number |
  `height` | number |
  `imageType` | number |
  `bitmapData` | ArrayBuffer |

## Methods

#### getBase64BitmapData() → {string}

  Function used to get the encoded base64 bitmap data.

  ##### Returns:

  { string }

#### getBlobData() → {string}

  Function used to get the binary large object with the bitmap data.

  ##### Returns:

  { string }

#### getHeight() → {number}

  Function used to get the bitmap height.

  ##### Returns:

  { number }

#### getRawBitmapData() → {ArrayBuffer}

  Function used to get the raw bitmap data.

  ##### Returns:

  { ArrayBuffer }

#### getWidth() → {number}

  Function used to get the bitmap width.

  ##### Returns:

  { number }

#### getXOffset() → {number}

  Function used to get the horizontal pixel offset of the top left corner of the bitmap within a frame.

  ##### Returns:

  { number }

#### getYOffset() → {number}

  Function used to get the vertical pixel offset of the top left corner of the bitmap within a frame.

  ##### Returns:

  { number }