Сlass is used for getting bitmaps (png, jpg, svg) from byte array.
More...
|
abstract android.graphics.Bitmap | decodeRegion (Rectangle rect, int sampleSize) |
| Method is used to decode rectangle region in the image specified by rect.
|
|
Сlass is used for getting bitmaps (png, jpg, svg) from byte array.
Definition at line 14 of file BitmapRegionDecoder.java.
◆ decodeRegion()
abstract android.graphics.Bitmap com.navigine.idl.java.BitmapRegionDecoder.decodeRegion |
( |
Rectangle | rect, |
|
|
int | sampleSize ) |
|
abstract |
Method is used to decode rectangle region in the image specified by rect.
- Parameters
-
rect | area to render Rectangle |
sampleSize | if set to a value > 1, requests the decoder to subsample the original image, returning a smaller image to save memory. |
- Returns
- constructed bitmap
◆ newInstance()
static BitmapRegionDecoder com.navigine.idl.java.BitmapRegionDecoder.newInstance |
( |
byte[] | data | ) |
|
|
inlinestatic |
Method is used to create instance of BitmapRegionDecoder.
- Parameters
-
data | raw image data (could be raw svg string) |
- Returns
- nstance of decoder, which could be used for decoding byte array to bitmap.
Definition at line 32 of file BitmapRegionDecoder.java.
The documentation for this class was generated from the following file: