public class MuPDFBitmap extends ArDkBitmap
ArDkBitmap.Type
bitmap, rect, serial, serialBase
Constructor and Description |
---|
MuPDFBitmap(ArDkBitmap s,
int x0,
int y0,
int x1,
int y1)
Create an MuPDFBitmap that gives access to a subarea of another ArDkBitmap (sharing the same
underlying native Bitmap).
|
MuPDFBitmap(int w,
int h) |
Modifier and Type | Method and Description |
---|---|
ArDkBitmap |
createBitmap(int x0,
int y0,
int x1,
int y1)
create a new bitmap representing a portion of this bitmap.
|
allocateBitmap, compareTo, defaultConfig, defaultType, dispose, getBitmap, getHeight, getRect, getSerial, getWidth
public MuPDFBitmap(int w, int h)
public MuPDFBitmap(ArDkBitmap s, int x0, int y0, int x1, int y1)
s
- MuPDFBitmap that we want to represent a subrectangle of.x0
- bound of sub rectangle.y0
- bound of sub rectangle.x1
- bound of sub rectangle.y1
- bound of sub rectangle.public ArDkBitmap createBitmap(int x0, int y0, int x1, int y1)
createBitmap
in class ArDkBitmap