java.lang.Object
org.xhtmlrenderer.render.AbstractOutputDevice<AWTFSImage,AWTFSFont>
org.xhtmlrenderer.swing.Java2DOutputDevice
- All Implemented Interfaces:
OutputDevice<AWTFSImage,AWTFSFont>
-
Constructor Summary
ConstructorsConstructorDescriptionJava2DOutputDevice(Graphics2D graphics) Java2DOutputDevice(BufferedImage outputImage) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoiddrawBorderLine(Shape bounds, int side, int lineWidth, boolean solid) voiddrawImage(AWTFSImage image, int x, int y) protected voiddrawLine(int x1, int y1, int x2, int y2) voiddrawLinearGradient(FSLinearGradient gradient, int x, int y, int width, int height) voiddrawOval(int x, int y, int width, int height) voiddrawRect(int x, int y, int width, int height) voiddrawSelection(RenderingContext c, InlineText inlineText) voidvoidfillOval(int x, int y, int width, int height) voidfillRect(int x, int y, int width, int height) @Nullable ShapegetClip()@Nullable ObjectbooleanbooleanvoidvoidvoidvoidvoidsetOpacity(float opacity) voidsetRenderingHint(RenderingHints.Key key, Object value) voidvoidtranslate(double tx, double ty) Methods inherited from class org.xhtmlrenderer.render.AbstractOutputDevice
drawDebugOutline, drawText, drawTextDecoration, drawTextDecoration, getFontSpecification, paintBackground, paintBackground, paintBorder, paintBorder, paintCollapsedBorder, setFontSpecification
-
Constructor Details
-
Java2DOutputDevice
-
Java2DOutputDevice
-
-
Method Details
-
drawSelection
-
drawBorderLine
-
paintReplacedElement
-
setOpacity
public void setOpacity(float opacity) -
setColor
-
drawLine
protected void drawLine(int x1, int y1, int x2, int y2) - Specified by:
drawLinein classAbstractOutputDevice<AWTFSImage,AWTFSFont>
-
drawRect
public void drawRect(int x, int y, int width, int height) -
fillRect
public void fillRect(int x, int y, int width, int height) -
setClip
-
getClip
-
clip
-
translate
public void translate(double tx, double ty) -
getGraphics
-
drawOval
public void drawOval(int x, int y, int width, int height) -
fillOval
public void fillOval(int x, int y, int width, int height) -
getRenderingHint
-
setRenderingHint
-
setFont
-
setStroke
-
getStroke
-
fill
-
draw
-
drawImage
-
isSupportsSelection
public boolean isSupportsSelection() -
isSupportsCMYKColors
public boolean isSupportsCMYKColors() -
drawLinearGradient
-