-
public final class PagePartRepresents a part of a PDF page that is rendered in a PDF previewer.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integerpageprivate final BitmaprenderedBitmapprivate final RectFpageRelativeBoundsprivate final BooleanisThumbnailprivate IntegercacheOrder
-
Method Summary
Modifier and Type Method Description final IntegergetPage()final BitmapgetRenderedBitmap()final RectFgetPageRelativeBounds()final BooleangetIsThumbnail()final IntegergetCacheOrder()final UnitsetCacheOrder(Integer cacheOrder)-
-
Constructor Detail
-
PagePart
PagePart(Integer page, Bitmap renderedBitmap, RectF pageRelativeBounds, Boolean isThumbnail, Integer cacheOrder)
- Parameters:
page- The page number.renderedBitmap- The rendered {@link Bitmap} for this page part.pageRelativeBounds- The bounds of the page part relative to the page itself.isThumbnail- Whether this page part represents a thumbnail.cacheOrder- The order in which the page part was added to the cache, used for caching strategies.
-
-
Method Detail
-
getRenderedBitmap
final Bitmap getRenderedBitmap()
-
getPageRelativeBounds
final RectF getPageRelativeBounds()
-
getIsThumbnail
final Boolean getIsThumbnail()
-
getCacheOrder
final Integer getCacheOrder()
-
setCacheOrder
final Unit setCacheOrder(Integer cacheOrder)
- Parameters:
cacheOrder- The order in which the page part was added to the cache, used for caching strategies.
-
-
-
-