Class Constants
- java.lang.Object
-
- com.github.barteksc.pdfviewer.util.Constants
-
public class Constants extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConstants.Cachestatic classConstants.Pinch
-
Field Summary
Fields Modifier and Type Field Description static booleanDEBUG_MODEstatic floatPART_SIZEThe size of the rendered parts (default 256) Tinier : a little bit slower to have the whole page rendered but more reactive.static intPRELOAD_OFFSETPart of document above and below screen that should be preloaded, in dpstatic floatTHUMBNAIL_RATIOBetween 0 and 1, the thumbnails quality (default 0.3).
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
DEBUG_MODE
public static boolean DEBUG_MODE
-
THUMBNAIL_RATIO
public static float THUMBNAIL_RATIO
Between 0 and 1, the thumbnails quality (default 0.3). Increasing this value may cause performance decrease
-
PART_SIZE
public static float PART_SIZE
The size of the rendered parts (default 256) Tinier : a little bit slower to have the whole page rendered but more reactive. Bigger : user will have to wait longer to have the first visual results
-
PRELOAD_OFFSET
public static int PRELOAD_OFFSET
Part of document above and below screen that should be preloaded, in dp
-
-