public class PDFVS
extends java.lang.Object
Constructor and Description |
---|
PDFVS() |
Modifier and Type | Method and Description |
---|---|
static int |
renderQuality(int q)
set render quality for PDFV.
|
static int |
setBackColor(int c)
set background color for PDFV
|
static boolean |
setDarkMode(boolean dark)
set dark mode
|
static float |
setFlingDis(float dis)
distance for fling
|
static float |
setFlingSpeed(float speed)
speed for fling
|
static int |
setSelColor(int c)
set text selection color for PDFV
|
static boolean |
showAnnots(boolean show)
show annotations?
|
static boolean |
textRtol(boolean rtol)
text selection or page text start from right to left?
|
public static boolean setDarkMode(boolean dark)
dark
- true to set dark mode, and false to not.public static boolean showAnnots(boolean show)
show
- true to show and false to not.public static boolean textRtol(boolean rtol)
rtol
- true or falsepublic static int renderQuality(int q)
q
- 0: poor, 1: normal, 2: bestpublic static int setBackColor(int c)
c
- background colorpublic static int setSelColor(int c)
c
- selection colorpublic static float setFlingDis(float dis)
dis
- distance scale value for PDFV flingpublic static float setFlingSpeed(float speed)
speed
- speed scale value for PDFV fling, range:[0.01 0.4] depends on timer frequency