public class ITextOutputDevice extends AbstractOutputDevice implements OutputDevice
PdfGraphics2D. See
http://sourceforge.net/projects/itext/ for license information.| 构造器和说明 |
|---|
ITextOutputDevice(float dotsPerPoint) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clip(Shape s) |
com.lowagie.text.Rectangle |
createLocalTargetArea(RenderingContext c,
Box box) |
com.lowagie.text.Rectangle |
createTargetArea(RenderingContext c,
Box box) |
void |
drawBorderLine(Rectangle bounds,
int side,
int lineWidth,
boolean solid) |
void |
drawImage(FSImage fsImage,
int x,
int y) |
protected void |
drawLine(int x1,
int y1,
int x2,
int y2) |
void |
drawOval(int x,
int y,
int width,
int height) |
void |
drawRect(int x,
int y,
int width,
int height) |
void |
drawSelection(RenderingContext c,
InlineText inlineText) |
void |
drawString(String s,
float x,
float y,
JustificationInfo info) |
void |
fill(Shape s) |
void |
fillOval(int x,
int y,
int width,
int height) |
void |
fillRect(int x,
int y,
int width,
int height) |
List |
findPagePositionsByID(CssContext c,
Pattern pattern) |
void |
finish(RenderingContext c,
Box root) |
void |
finishPage() |
Shape |
getClip() |
com.lowagie.text.pdf.PdfContentByte |
getCurrentPage() |
float |
getDeviceLength(float length) |
float |
getDotsPerPoint() |
int |
getNextFormFieldIndex() |
com.lowagie.text.pdf.PdfReader |
getReader(URL url) |
Object |
getRenderingHint(RenderingHints.Key key) |
SharedContext |
getSharedContext() |
int |
getStartPageNo() |
Stroke |
getStroke() |
com.lowagie.text.pdf.PdfWriter |
getWriter() |
void |
initializePage(com.lowagie.text.pdf.PdfContentByte currentPage,
float height) |
boolean |
isSupportsCMYKColors() |
boolean |
isSupportsSelection() |
void |
paintBackground(RenderingContext c,
Box box) |
void |
paintReplacedElement(RenderingContext c,
BlockBox box) |
void |
setClip(Shape s) |
void |
setColor(FSColor color) |
void |
setFont(FSFont font) |
void |
setRenderingHint(RenderingHints.Key key,
Object value) |
void |
setRoot(Box root) |
void |
setSharedContext(SharedContext sharedContext) |
void |
setStartPageNo(int startPageNo) |
void |
setStroke(Stroke s) |
void |
setWriter(com.lowagie.text.pdf.PdfWriter writer) |
void |
start(Document doc) |
void |
translate(double tx,
double ty) |
drawDebugOutline, drawText, drawTextDecoration, drawTextDecoration, paintBackground, paintBorder, paintBorder, paintCollapsedBorderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrawDebugOutline, drawText, drawTextDecoration, drawTextDecoration, paintBackground, paintBorder, paintBorder, paintCollapsedBorderpublic void setWriter(com.lowagie.text.pdf.PdfWriter writer)
public com.lowagie.text.pdf.PdfWriter getWriter()
public int getNextFormFieldIndex()
public void initializePage(com.lowagie.text.pdf.PdfContentByte currentPage,
float height)
public void finishPage()
public void paintReplacedElement(RenderingContext c, BlockBox box)
paintReplacedElement 在接口中 OutputDevicepublic void paintBackground(RenderingContext c, Box box)
paintBackground 在接口中 OutputDevicepaintBackground 在类中 AbstractOutputDevicepublic com.lowagie.text.Rectangle createLocalTargetArea(RenderingContext c, Box box)
public com.lowagie.text.Rectangle createTargetArea(RenderingContext c, Box box)
public float getDeviceLength(float length)
public void drawBorderLine(Rectangle bounds, int side, int lineWidth, boolean solid)
drawBorderLine 在接口中 OutputDevicepublic void setColor(FSColor color)
setColor 在接口中 OutputDeviceprotected void drawLine(int x1,
int y1,
int x2,
int y2)
drawLine 在类中 AbstractOutputDevicepublic void drawRect(int x,
int y,
int width,
int height)
drawRect 在接口中 OutputDevicepublic void drawOval(int x,
int y,
int width,
int height)
drawOval 在接口中 OutputDevicepublic void fill(Shape s)
fill 在接口中 OutputDevicepublic void fillRect(int x,
int y,
int width,
int height)
fillRect 在接口中 OutputDevicepublic void fillOval(int x,
int y,
int width,
int height)
fillOval 在接口中 OutputDevicepublic void translate(double tx,
double ty)
translate 在接口中 OutputDevicepublic Object getRenderingHint(RenderingHints.Key key)
getRenderingHint 在接口中 OutputDevicepublic void setRenderingHint(RenderingHints.Key key, Object value)
setRenderingHint 在接口中 OutputDevicepublic void setFont(FSFont font)
setFont 在接口中 OutputDevicepublic void drawString(String s, float x, float y, JustificationInfo info)
public com.lowagie.text.pdf.PdfContentByte getCurrentPage()
public void setStroke(Stroke s)
setStroke 在接口中 OutputDevicepublic void clip(Shape s)
clip 在接口中 OutputDevicepublic Shape getClip()
getClip 在接口中 OutputDevicepublic void setClip(Shape s)
setClip 在接口中 OutputDevicepublic Stroke getStroke()
getStroke 在接口中 OutputDevicepublic void drawImage(FSImage fsImage, int x, int y)
drawImage 在接口中 OutputDevicepublic com.lowagie.text.pdf.PdfReader getReader(URL url) throws IOException, URISyntaxException
public float getDotsPerPoint()
public void start(Document doc)
public void finish(RenderingContext c, Box root)
public SharedContext getSharedContext()
public void setSharedContext(SharedContext sharedContext)
public void setRoot(Box root)
public int getStartPageNo()
public void setStartPageNo(int startPageNo)
public void drawSelection(RenderingContext c, InlineText inlineText)
drawSelection 在接口中 OutputDevicepublic boolean isSupportsSelection()
isSupportsSelection 在接口中 OutputDevicepublic boolean isSupportsCMYKColors()
isSupportsCMYKColors 在接口中 OutputDevicepublic List findPagePositionsByID(CssContext c, Pattern pattern)
Copyright © 2019. All Rights Reserved.