public abstract class AbstractOutputDevice extends Object implements OutputDevice
OutputDevice. It provides complete
implementations for many OutputDevice methods.| Constructor and Description |
|---|
AbstractOutputDevice() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclip, draw, 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 OutputDevicepublic FontSpecification getFontSpecification()
public void setFontSpecification(FontSpecification fs)
fs - current FontSpecification.Copyright © 2016. All rights reserved.