Package org.xhtmlrenderer.render
Class AbstractOutputDevice
java.lang.Object
org.xhtmlrenderer.render.AbstractOutputDevice
- All Implemented Interfaces:
OutputDevice
- Direct Known Subclasses:
ITextOutputDevice
,Java2DOutputDevice
An abstract implementation of an
OutputDevice
. It provides complete
implementations for many OutputDevice
methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawDebugOutline
(RenderingContext c, Box box, FSColor color) void
drawText
(RenderingContext c, InlineText inlineText) void
drawTextDecoration
(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration) void
drawTextDecoration
(RenderingContext c, LineBox lineBox) void
paintBackground
(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer) void
paintBackground
(RenderingContext c, Box box) void
paintBorder
(RenderingContext c, CalculatedStyle style, Rectangle edge, int sides) void
paintBorder
(RenderingContext c, Box box) void
paintCollapsedBorder
(RenderingContext c, BorderPropertySet border, Rectangle bounds, int side) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xhtmlrenderer.extend.OutputDevice
clip, drawBorderLine, drawImage, drawOval, drawRect, drawSelection, fill, fillOval, fillRect, getClip, getRenderingHint, getStroke, isSupportsCMYKColors, isSupportsSelection, paintReplacedElement, setClip, setColor, setFont, setRenderingHint, setStroke, translate
-
Constructor Details
-
AbstractOutputDevice
public AbstractOutputDevice()
-
-
Method Details
-
drawText
- Specified by:
drawText
in interfaceOutputDevice
-
drawTextDecoration
- Specified by:
drawTextDecoration
in interfaceOutputDevice
-
drawTextDecoration
- Specified by:
drawTextDecoration
in interfaceOutputDevice
-
drawDebugOutline
- Specified by:
drawDebugOutline
in interfaceOutputDevice
-
paintCollapsedBorder
public void paintCollapsedBorder(RenderingContext c, BorderPropertySet border, Rectangle bounds, int side) - Specified by:
paintCollapsedBorder
in interfaceOutputDevice
-
paintBorder
- Specified by:
paintBorder
in interfaceOutputDevice
-
paintBorder
- Specified by:
paintBorder
in interfaceOutputDevice
-
paintBackground
public void paintBackground(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer) - Specified by:
paintBackground
in interfaceOutputDevice
-
paintBackground
- Specified by:
paintBackground
in interfaceOutputDevice
-