public class Java2DOutputDevice extends AbstractOutputDevice implements OutputDevice
| Constructor and Description |
|---|
Java2DOutputDevice(BufferedImage outputImage) |
Java2DOutputDevice(Graphics2D graphics) |
| Modifier and Type | Method and Description |
|---|---|
void |
clip(Shape s) |
void |
draw(Shape s) |
void |
drawBorderLine(Shape bounds,
int side,
int lineWidth,
boolean solid) |
void |
drawImage(FSImage image,
int x,
int y) |
protected void |
drawLine(int x1,
int y1,
int x2,
int y2) |
void |
drawOval(int x,
int y,
int width,
int height) |
void |
drawRect(int x,
int y,
int width,
int height) |
void |
drawSelection(RenderingContext c,
InlineText inlineText) |
void |
fill(Shape s) |
void |
fillOval(int x,
int y,
int width,
int height) |
void |
fillRect(int x,
int y,
int width,
int height) |
Shape |
getClip() |
Graphics2D |
getGraphics() |
Object |
getRenderingHint(RenderingHints.Key key) |
Stroke |
getStroke() |
boolean |
isSupportsCMYKColors() |
boolean |
isSupportsSelection() |
void |
paintReplacedElement(RenderingContext c,
BlockBox box) |
void |
setClip(Shape s) |
void |
setColor(FSColor color) |
void |
setFont(FSFont font) |
void |
setRenderingHint(RenderingHints.Key key,
Object value) |
void |
setStroke(Stroke s) |
void |
translate(double tx,
double ty) |
drawDebugOutline, drawText, drawTextDecoration, drawTextDecoration, getFontSpecification, paintBackground, paintBackground, paintBorder, paintBorder, paintCollapsedBorder, setFontSpecificationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrawDebugOutline, drawText, drawTextDecoration, drawTextDecoration, paintBackground, paintBackground, paintBorder, paintBorder, paintCollapsedBorderpublic Java2DOutputDevice(Graphics2D graphics)
public Java2DOutputDevice(BufferedImage outputImage)
public void drawSelection(RenderingContext c, InlineText inlineText)
drawSelection in interface OutputDevicepublic void drawBorderLine(Shape bounds, int side, int lineWidth, boolean solid)
drawBorderLine in interface OutputDevicepublic void paintReplacedElement(RenderingContext c, BlockBox box)
paintReplacedElement in interface OutputDevicepublic void setColor(FSColor color)
setColor in interface OutputDeviceprotected void drawLine(int x1,
int y1,
int x2,
int y2)
drawLine in class AbstractOutputDevicepublic void drawRect(int x,
int y,
int width,
int height)
drawRect in interface OutputDevicepublic void fillRect(int x,
int y,
int width,
int height)
fillRect in interface OutputDevicepublic void setClip(Shape s)
setClip in interface OutputDevicepublic Shape getClip()
getClip in interface OutputDevicepublic void clip(Shape s)
clip in interface OutputDevicepublic void translate(double tx,
double ty)
translate in interface OutputDevicepublic Graphics2D getGraphics()
public void drawOval(int x,
int y,
int width,
int height)
drawOval in interface OutputDevicepublic void fillOval(int x,
int y,
int width,
int height)
fillOval in interface OutputDevicepublic Object getRenderingHint(RenderingHints.Key key)
getRenderingHint in interface OutputDevicepublic void setRenderingHint(RenderingHints.Key key, Object value)
setRenderingHint in interface OutputDevicepublic void setFont(FSFont font)
setFont in interface OutputDevicepublic void setStroke(Stroke s)
setStroke in interface OutputDevicepublic Stroke getStroke()
getStroke in interface OutputDevicepublic void fill(Shape s)
fill in interface OutputDevicepublic void draw(Shape s)
draw in interface OutputDevicepublic void drawImage(FSImage image, int x, int y)
drawImage in interface OutputDevicepublic boolean isSupportsSelection()
isSupportsSelection in interface OutputDevicepublic boolean isSupportsCMYKColors()
isSupportsCMYKColors in interface OutputDeviceCopyright © 2020. All rights reserved.