public class Java2DOutputDevice extends AbstractOutputDevice implements OutputDevice
| 构造器和说明 |
|---|
Java2DOutputDevice(Graphics2D layoutGraphics) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
draw(Shape s) |
void |
drawBorderLine(Shape bounds,
int side,
int lineWidth,
boolean solid) |
void |
drawImage(FSImage image,
int x,
int y,
boolean interpolate) |
protected void |
drawLine(int x1,
int y1,
int x2,
int y2) |
void |
drawLinearGradient(FSLinearGradient lg,
Shape bounds) |
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 |
drawWithGraphics(float x,
float y,
float width,
float height,
OutputDeviceGraphicsDrawer renderer) |
void |
endStructure(Object token) |
void |
fill(Shape s) |
void |
fillOval(int x,
int y,
int width,
int height) |
void |
fillRect(int x,
int y,
int width,
int height) |
void |
finish(RenderingContext c,
BlockBox _root) |
Java2DFont |
getFont() |
Graphics2D |
getGraphics() |
Object |
getRenderingHint(RenderingHints.Key key) |
Stroke |
getStroke() |
void |
initializePage(Graphics2D pageGraphics) |
boolean |
isSupportsCMYKColors() |
void |
paintReplacedElement(RenderingContext c,
BlockBox box) |
void |
popClip() |
void |
popTransformLayer() |
void |
pushClip(Shape s) |
void |
pushTransformLayer(AffineTransform transform) |
void |
setBidiReorderer(BidiReorderer _reorderer) |
void |
setColor(FSColor color) |
void |
setFont(FSFont font) |
void |
setPaint(Paint paint) |
void |
setRenderingContext(RenderingContext result) |
void |
setRenderingHint(RenderingHints.Key key,
Object value) |
void |
setRoot(BlockBox _root) |
void |
setStroke(Stroke s) |
Object |
startStructure(StructureType type,
Box box) |
void |
translate(double tx,
double ty) |
drawDebugOutline, drawText, drawTextDecoration, drawTextDecoration, getFontSpecification, isPDF, paintBackground, paintBackground, paintBorder, paintBorder, paintCollapsedBorder, setFontSpecificationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdrawDebugOutline, drawText, drawTextDecoration, drawTextDecoration, isPDF, paintBackground, paintBackground, paintBorder, paintBorder, paintCollapsedBorderpublic Java2DOutputDevice(Graphics2D layoutGraphics)
@Deprecated public void drawSelection(RenderingContext c, InlineText inlineText)
drawSelection 在接口中 OutputDevicepublic void drawBorderLine(Shape bounds, int side, int lineWidth, boolean solid)
drawBorderLine 在接口中 OutputDevicepublic void paintReplacedElement(RenderingContext c, BlockBox box)
paintReplacedElement 在接口中 OutputDevicepublic void setColor(FSColor color)
setColor 在接口中 OutputDeviceprotected void drawLine(int x1,
int y1,
int x2,
int y2)
drawLine 在类中 AbstractOutputDevicepublic void drawRect(int x,
int y,
int width,
int height)
drawRect 在接口中 OutputDevicepublic void fillRect(int x,
int y,
int width,
int height)
fillRect 在接口中 OutputDevicepublic void translate(double tx,
double ty)
translate 在接口中 OutputDevicepublic Graphics2D getGraphics()
public void drawOval(int x,
int y,
int width,
int height)
drawOval 在接口中 OutputDevicepublic void fillOval(int x,
int y,
int width,
int height)
fillOval 在接口中 OutputDevicepublic Object getRenderingHint(RenderingHints.Key key)
getRenderingHint 在接口中 OutputDevicepublic void setRenderingHint(RenderingHints.Key key, Object value)
setRenderingHint 在接口中 OutputDevicepublic void setFont(FSFont font)
setFont 在接口中 OutputDevicepublic Java2DFont getFont()
public void setStroke(Stroke s)
setStroke 在接口中 OutputDevicepublic Stroke getStroke()
getStroke 在接口中 OutputDevicepublic void fill(Shape s)
fill 在接口中 OutputDevicepublic void draw(Shape s)
draw 在接口中 OutputDevicepublic void drawImage(FSImage image, int x, int y, boolean interpolate)
drawImage 在接口中 OutputDevicepublic boolean isSupportsCMYKColors()
isSupportsCMYKColors 在接口中 OutputDevicepublic void drawWithGraphics(float x,
float y,
float width,
float height,
OutputDeviceGraphicsDrawer renderer)
drawWithGraphics 在接口中 OutputDevicepublic void setPaint(Paint paint)
setPaint 在接口中 OutputDevicepublic void setBidiReorderer(BidiReorderer _reorderer)
public void setRenderingContext(RenderingContext result)
public void setRoot(BlockBox _root)
public void initializePage(Graphics2D pageGraphics)
public void finish(RenderingContext c, BlockBox _root)
public void pushTransformLayer(AffineTransform transform)
pushTransformLayer 在接口中 OutputDevicepublic void popTransformLayer()
popTransformLayer 在接口中 OutputDevicepublic void popClip()
popClip 在接口中 OutputDevicepublic void pushClip(Shape s)
pushClip 在接口中 OutputDevicepublic Object startStructure(StructureType type, Box box)
startStructure 在接口中 OutputDevicepublic void endStructure(Object token)
endStructure 在接口中 OutputDevicepublic void drawLinearGradient(FSLinearGradient lg, Shape bounds)
drawLinearGradient 在接口中 OutputDeviceCopyright © 2004–2025. All rights reserved.