int android.graphics.Bitmap.getRowBytes()

int android.graphics.Bitmap.getRowBytes()

Return the number of bytes between rows in the bitmap's pixels. Note that this refers to the pixels as stored natively by the bitmap. If you call getPixels() or setPixels(), then the pixels are uniformly treated as 32bit values, packed according to the Color class.

Returns:
number of bytes between rows of the native bitmap pixels.

posted on 2013-07-31 11:52  勤修  阅读(1896)  评论(0编辑  收藏  举报

导航