public abstract class AbstractOutputDevice extends java.lang.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) |
FontSpecification |
getFontSpecification()
Gets the FontSpecification for this AbstractOutputDevice.
|
void |
paintBackground(RenderingContext c,
Box box) |
void |
paintBackground(RenderingContext c,
CalculatedStyle style,
java.awt.Rectangle bounds,
java.awt.Rectangle bgImageContainer,
BorderPropertySet border) |
void |
paintBorder(RenderingContext c,
Box box) |
void |
paintBorder(RenderingContext c,
CalculatedStyle style,
java.awt.Rectangle edge,
int sides) |
void |
paintCollapsedBorder(RenderingContext c,
BorderPropertySet border,
java.awt.Rectangle bounds,
int side) |
void |
setFontSpecification(FontSpecification fs)
Sets the FontSpecification for this AbstractOutputDevice.
|
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, java.awt.Rectangle bounds, int side)
paintCollapsedBorder in interface OutputDevicepublic void paintBorder(RenderingContext c, Box box)
paintBorder in interface OutputDevicepublic void paintBorder(RenderingContext c, CalculatedStyle style, java.awt.Rectangle edge, int sides)
paintBorder in interface OutputDevicepublic void paintBackground(RenderingContext c, CalculatedStyle style, java.awt.Rectangle bounds, java.awt.Rectangle bgImageContainer, BorderPropertySet border)
paintBackground in interface OutputDevicepublic void paintBackground(RenderingContext c, Box box)
paintBackground in interface OutputDevicepublic FontSpecification getFontSpecification()
public void setFontSpecification(FontSpecification fs)
fs - current FontSpecification.Copyright © 2014. All Rights Reserved.