Class MuPDFBitmap

java.lang.Object
com.artifex.solib.ArDkBitmap
com.artifex.solib.MuPDFBitmap
All Implemented Interfaces:
Comparable<ArDkBitmap>

public class MuPDFBitmap extends ArDkBitmap
  • Constructor Details

    • MuPDFBitmap

      public MuPDFBitmap(int w, int h)
    • MuPDFBitmap

      public 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).
      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

      public ArDkBitmap createBitmap(int x0, int y0, int x1, int y1)
      create a new bitmap representing a portion of this bitmap.
      Overrides:
      createBitmap in class ArDkBitmap