Reference: getViewAsBitmap
getViewAsBitmap(0) returns the current 2D visualization window as a pixmap. getViewAsBitmap(w, h) returns the current 2D visualization window as a w×h pixmap.
getViewAsBitmap(0) returns the current 2D visualization window as a pixmap. getViewAsBitmap(w, h) returns the current 2D visualization window as a w×h pixmap.