Package com.artifex.solib
Class MuPDFBitmap
java.lang.Object
com.artifex.solib.ArDkBitmap
com.artifex.solib.MuPDFBitmap
- All Implemented Interfaces:
Comparable<ArDkBitmap>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.artifex.solib.ArDkBitmap
ArDkBitmap.Type -
Field Summary
Fields inherited from class com.artifex.solib.ArDkBitmap
bitmap, rect, serial, serialBase -
Constructor Summary
ConstructorsConstructorDescriptionMuPDFBitmap(int w, int h) 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). -
Method Summary
Modifier and TypeMethodDescriptioncreateBitmap(int x0, int y0, int x1, int y1) create a new bitmap representing a portion of this bitmap.Methods inherited from class com.artifex.solib.ArDkBitmap
allocateBitmap, compareTo, defaultConfig, defaultType, dispose, getBitmap, getHeight, getRect, getSerial, getWidth
-
Constructor Details
-
MuPDFBitmap
public MuPDFBitmap(int w, int h) -
MuPDFBitmap
Create an MuPDFBitmap that gives access to a subarea of another ArDkBitmap (sharing the same underlying native Bitmap).- Parameters:
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.
-
-
Method Details
-
createBitmap
create a new bitmap representing a portion of this bitmap.- Overrides:
createBitmapin classArDkBitmap
-