public class FXDisplayForRasterizing extends FXDisplay
addBackground, areas, backgroundColor, changeLineArtAndText, colorThresholdToReplace, currentItem, currentTokenNumber, defaultSize, endItem, enhanceFractionalLines, imageIDtoName, invertHighlight, itemToRender, objectStoreRef, objectType, pageObjects, rawPageNumber, textColor, type, userHintsAF, ALT_BACKGROUND_COLOR, ALT_FOREGROUND_COLOR, BLENDMODE, CLIP, COLOR, COLOR_REPLACEMENT_THRESHOLD, CREATE_EPOS, CREATE_HTML, CREATE_PATTERN, CREATE_SVG, CREATE_T3, CUSTOM, CUSTOM_COLOR_HANDLER, CUSTOM_IMAGE_HANDLER, debugPaint, DISPLAY_IMAGE, DISPLAY_SCREEN, ENHANCE_FRACTIONAL_LINES, FILLCOLOR, FILLEDSHAPE, FILLOPACITY, FLUSH, FLUSH_ADDITIONAL_OBJECTS_ON_PAGE, FontMode, FONTSIZE, FOREGROUND_INCLUDE_LINEART, IMAGE, IsRealText, IsSVGMode, IsTextSelectable, LINEWIDTH, MARKER, PAGE_DECODING_FINISHED, PAINT_BACKGROUND, RESET_COLORSPACE, REUSED_IMAGE, SAVE_EMBEDDED_FONT, SHAPE, STRING, STROKE, STROKECOLOR, STROKEDSHAPE, STROKEOPACITY, TEXT, TEXT_STRUCTURE_CLOSE, TEXT_STRUCTURE_OPEN, TEXTCOLOR, TOKEN_NUMBER, TR, TRUETYPE, TYPE1C, TYPE3| Constructor and Description |
|---|
FXDisplayForRasterizing(int pageNumber,
boolean addBackground,
int defaultSize,
ObjectStore newObjectRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawUserContent(int[] type1,
Object[] obj,
Color[] colors) |
int[] |
getAreaAsArray(int i)
Returns a Rectangles X,Y,W,H as an Array of integers
Where 0 = x, 1 = y, 2 = w, 3 = h.
|
int |
getObjectUnderneath(int x,
int y)
return number of image in display queue or -1 if none.
|
int |
isInsideImage(int x,
int y)
return number of image in display queue
or -1 if none
|
void |
saveImage(int id,
String des,
String type) |
void |
setneedsHorizontalInvert(boolean b) |
void |
setneedsVerticalInvert(boolean b) |
drawAdditionalObjectsOverPage, drawCustom, drawEmbeddedText, drawImage, drawShape, getFXPane, paintBackground, setBlendMode, setFXParams, setInset, setInset, writeCustomcheckColorThreshold, drawClip, drawShape, drawText, drawTR, eliminateHiddenText, getBooleanValue, getValue, init, isHTMLorSVG, paint, renderComposite, saveAdvanceWidth, serializeToByteArray, setG2, setGraphicsState, setScalingValues, setValuepublic FXDisplayForRasterizing(int pageNumber,
boolean addBackground,
int defaultSize,
ObjectStore newObjectRef)
public void setneedsVerticalInvert(boolean b)
public void setneedsHorizontalInvert(boolean b)
public int getObjectUnderneath(int x,
int y)
public int[] getAreaAsArray(int i)
public int isInsideImage(int x,
int y)
public void drawUserContent(int[] type1,
Object[] obj,
Color[] colors)
throws PdfException
PdfExceptionCopyright © 2017. All rights reserved.