public abstract class AbstractOutputDevice extends Object implements OutputDevice
OutputDevice. It provides complete
implementations for many OutputDevice methods.| Constructor and Description |
|---|
AbstractOutputDevice() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawDebugOutline(RenderingContext c,
Box box,
FSColor color) |
protected abstract void |
drawLine(int x1,
int y1,
int x2,
int y2) |
void |
drawText(RenderingContext c,
InlineText inlineText) |
void |
drawTextDecoration(RenderingContext c,
InlineLayoutBox iB,
TextDecoration decoration) |
void |
drawTextDecoration(RenderingContext c,
LineBox lineBox) |
void |
paintBackground(RenderingContext c,
Box box) |
void |
paintBackground(RenderingContext c,
CalculatedStyle style,
Rectangle bounds,
Rectangle bgImageContainer,
BorderPropertySet border) |
void |
paintBorder(RenderingContext c,
Box box) |
void |
paintBorder(RenderingContext c,
CalculatedStyle style,
Rectangle edge,
int sides) |
void |
paintCollapsedBorder(RenderingContext c,
BorderPropertySet border,
Rectangle bounds,
int side) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclip, drawBorderLine, drawImage, drawOval, drawRect, drawSelection, fill, fillOval, fillRect, getClip, getRenderingHint, getStroke, isSupportsCMYKColors, isSupportsSelection, paintReplacedElement, setClip, setColor, setFont, setRenderingHint, setStroke, translateprotected abstract void drawLine(int x1,
int y1,
int x2,
int y2)
public void drawText(RenderingContext c, InlineText inlineText)
drawText in interface OutputDevicepublic void drawTextDecoration(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration)
drawTextDecoration in interface OutputDevicepublic void drawTextDecoration(RenderingContext c, LineBox lineBox)
drawTextDecoration in interface OutputDevicepublic void drawDebugOutline(RenderingContext c, Box box, FSColor color)
drawDebugOutline in interface OutputDevicepublic void paintCollapsedBorder(RenderingContext c, BorderPropertySet border, Rectangle bounds, int side)
paintCollapsedBorder in interface OutputDevicepublic void paintBorder(RenderingContext c, Box box)
paintBorder in interface OutputDevicepublic void paintBorder(RenderingContext c, CalculatedStyle style, Rectangle edge, int sides)
paintBorder in interface OutputDevicepublic void paintBackground(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer, BorderPropertySet border)
paintBackground in interface OutputDevicepublic void paintBackground(RenderingContext c, Box box)
paintBackground in interface OutputDeviceCopyright © 2011-2013. All Rights Reserved.