plugin/index.js
function create(width, height, opts) {
    if (TypeUtils.isNullOrUndefined(height)) {
        height = width;
    }
    if (arguments.length < 3) {
        opts = getDefaultOptions();
    }
    if (TypeUtils.isNullOrUndefined(opts)) {
        opts = {};
    }
    return BitmapFactory.createBitmap(width, height, opts);
}
function create(width, height, opts) {
    if (TypeUtils.isNullOrUndefined(height)) {
        height = width;
    }
    if (arguments.length < 3) {
        opts = getDefaultOptions();
    }
    if (TypeUtils.isNullOrUndefined(opts)) {
        opts = {};
    }
    return BitmapFactory.createBitmap(width, height, opts);
}
function create ( width , height , opts ) { if ( TypeUtils . isNullOrUndefined ( height ) ) { height = width ; } if ( arguments . length < 3 ) { opts = getDefaultOptions ( ) ; } if ( TypeUtils . isNullOrUndefined ( opts ) ) { opts = { } ; } return BitmapFactory . createBitmap ( width , height , opts ) ; }
Creates a new bitmap.

@param {Number} width The width of the new image.
@param {Number} [height] The optional height of the new image. If not defined, the width is taken as value.
@param {ICreateBitmapOptions} [opts] Additional options for creating the bitmap.

@return {IBitmap} The new bitmap.
Creates a new bitmap .