- All Known Implementing Classes:
AbstractOutputDevice,ITextOutputDevice,Java2DOutputDevice
public interface OutputDevice
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoiddrawBorderLine(Shape bounds, int side, int width, boolean solid) voiddrawDebugOutline(RenderingContext c, Box box, FSColor color) voidvoiddrawLinearGradient(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) voiddrawText(RenderingContext c, InlineText inlineText) voiddrawTextDecoration(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration) voiddrawTextDecoration(RenderingContext c, LineBox lineBox) voidvoidfillOval(int x, int y, int width, int height) voidfillRect(int x, int y, int width, int height) @Nullable ShapegetClip()@Nullable ObjectbooleanbooleanvoidpaintBackground(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer, BorderPropertySet border) voidpaintBackground(RenderingContext c, Box box) voidpaintBorder(RenderingContext c, CalculatedStyle style, Rectangle edge, int sides) voidpaintBorder(RenderingContext c, Box box) voidpaintCollapsedBorder(RenderingContext c, BorderPropertySet border, Rectangle bounds, int side) voidvoidvoidvoidvoidsetOpacity(float opacity) voidsetRenderingHint(RenderingHints.Key key, Object value) voidvoidtranslate(double tx, double ty)
-
Method Details
-
drawText
-
drawSelection
-
drawTextDecoration
-
drawTextDecoration
-
paintBorder
-
paintBorder
-
paintCollapsedBorder
-
paintBackground
-
paintBackground
void paintBackground(RenderingContext c, CalculatedStyle style, Rectangle bounds, Rectangle bgImageContainer, BorderPropertySet border) -
paintReplacedElement
-
drawDebugOutline
-
setFont
-
setColor
-
setOpacity
void setOpacity(float opacity) -
drawRect
void drawRect(int x, int y, int width, int height) -
drawOval
void drawOval(int x, int y, int width, int height) -
drawBorderLine
-
drawImage
-
drawLinearGradient
-
draw
-
fill
-
fillRect
void fillRect(int x, int y, int width, int height) -
fillOval
void fillOval(int x, int y, int width, int height) -
clip
-
getClip
@Nullable Shape getClip() -
setClip
-
translate
void translate(double tx, double ty) -
setStroke
-
getStroke
Stroke getStroke() -
getRenderingHint
-
setRenderingHint
-
isSupportsSelection
boolean isSupportsSelection() -
isSupportsCMYKColors
boolean isSupportsCMYKColors()
-