|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.qoppa.pdf.PDFRenderHints
PDFRenderHints allows the application to change the default rendering hints
used when rendering a document. The class initializes the default rendering
hints to:
| Constructor Summary | |
PDFRenderHints()
|
|
| Method Summary | |
static boolean |
getImageSmoothReduction()
Returns the value of the image reduction hint. |
static Object |
getRenderingHint(RenderingHints.Key key)
Gets one rendering hint. |
static RenderingHints |
getRenderingHints()
Gets a copy of the rendering hints. |
static boolean |
isImageSmoothReduction()
Returns the value of the smooth image reduction hingt. |
static void |
setCMYKProfile(ICC_Profile cmykProfile)
Sets a custom CMYK profile to use when reading any CMYK color information. |
static void |
setImageSmoothReduction(boolean imageSmoothReduction)
This rendering hint tells the library whether to use a smooth image rescaling algorithm when reducing sizes. |
static void |
setRenderingHint(RenderingHints.Key key,
Object value)
Sets one rendering hint. |
static void |
setRenderingHints(RenderingHints hints)
Sets the rendering hints. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PDFRenderHints()
| Method Detail |
public static void setRenderingHints(RenderingHints hints)
hints - The new rendering hints.public static RenderingHints getRenderingHints()
public static void setRenderingHint(RenderingHints.Key key,
Object value)
key - The rendering hint key.value - The new value of the rendering hint.public static Object getRenderingHint(RenderingHints.Key key)
key - The rendering hint key.
public static boolean isImageSmoothReduction()
public static void setImageSmoothReduction(boolean imageSmoothReduction)
imageSmoothReduction - true to use smooth rescaling, false to use
standard rescaling.public static boolean getImageSmoothReduction()
public static void setCMYKProfile(ICC_Profile cmykProfile)
cmykProfile - The new profile to use for CMYK color conversion
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||