public class T3Display extends SwingDisplay implements T3Renderer
factory, testSamplingaddBackground, 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 |
|---|
T3Display(byte[] dvr,
Map<Object,Object> map) |
T3Display(int pageNumber,
boolean addBackground,
int defaultSize,
ObjectStore newObjectRef)
create instance and set flag to show if we draw white background
|
| 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 |
lockColors(PdfPaint strokePaint,
PdfPaint nonstrokePaint,
boolean lockColour)
used by type 3 glyphs to set colour
|
void |
saveImage(int id,
String des,
String type) |
void |
setneedsHorizontalInvert(boolean b) |
void |
setneedsVerticalInvert(boolean b) |
void |
setType3Glyph(String pKey)
use by type3 fonts to differentiate images in local store
|
checkFontSaved, drawAdditionalObjectsOverPage, drawClip, drawCustom, drawEmbeddedText, drawImage, drawShape, drawStroke, drawText, drawTR, flushAdditionalObjOnPage, getOccupiedArea, paint, serializeToByteArray, setGraphicsState, setMessageFrame, setPrintPage, stopClearOnNextRepaint, stopG2HintSetting, writeCustomcheckColorThreshold, drawShape, eliminateHiddenText, getBooleanValue, getValue, init, isHTMLorSVG, paintBackground, renderComposite, saveAdvanceWidth, setG2, setScalingValues, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrawAdditionalObjectsOverPage, drawClip, drawEmbeddedText, drawImage, drawShape, drawShape, drawText, drawTR, eliminateHiddenText, getBooleanValue, getValue, init, isHTMLorSVG, paint, saveAdvanceWidth, serializeToByteArray, setG2, setGraphicsState, setScalingValues, setValue, writeCustompublic T3Display(int pageNumber,
boolean addBackground,
int defaultSize,
ObjectStore newObjectRef)
public void setType3Glyph(String pKey)
setType3Glyph in interface T3Rendererpublic void lockColors(PdfPaint strokePaint, PdfPaint nonstrokePaint, boolean lockColour)
lockColors in interface T3Rendererpublic 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.