Cogl.Bitmap.prototype.get_width

function get_width(): Number(gint) {
    // Gjs wrapper for cogl_bitmap_get_width()
}
  

Since 1.10

Returns

the width of the bitmap