public class GraphicContextWrapper extends java.lang.Object implements IGraphicContext
| Constructor and Description |
|---|
GraphicContextWrapper(IGraphicContext original) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearRectangle(int x,
int y,
int width,
int height) |
void |
clearRectangle(Rectangle bounds) |
void |
copyArea(int sourceX,
int sourceY,
int sourceWidth,
int sourceHeight,
int destinationX,
int destinationY) |
void |
drawArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle) |
void |
drawImage(IImageConstant image) |
void |
drawImage(IImageConstant image,
int x,
int y) |
void |
drawImage(IImageConstant image,
int x,
int y,
int width,
int height) |
void |
drawImage(IImageConstant image,
int sourceX,
int sourceY,
int sourceWidth,
int sourceHeight,
int destinationX,
int destinationY,
int destinationWidth,
int destinationHeight) |
void |
drawLine(int x1,
int y1,
int x2,
int y2) |
void |
drawOval(int x,
int y,
int width,
int height) |
void |
drawPoint(int x,
int y) |
void |
drawPolygon(Point[] points) |
void |
drawPolyline(Point[] points) |
void |
drawRectangle(int x,
int y,
int width,
int height) |
void |
drawText(java.lang.String text,
int x,
int y) |
void |
fillArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle) |
void |
fillOval(int x,
int y,
int width,
int height) |
void |
fillPolygon(Point[] points) |
void |
fillRectangle(int x,
int y,
int width,
int height) |
IColorConstant |
getBackgroundColor() |
Rectangle |
getBounds() |
IFontMetrics |
getFontMetrics() |
IColorConstant |
getForegroundColor() |
int |
getTextWidth(java.lang.String text) |
void |
setAntiAliasing(AntiAliasing antiAliasing) |
void |
setBackgroundColor(IColorConstant color) |
void |
setDashedLine(float[] pattern,
float offset) |
void |
setFontName(java.lang.String fontName) |
void |
setFontSize(int size) |
void |
setForegroundColor(IColorConstant color) |
void |
setLineCap(LineCap lineCap) |
void |
setLineJoin(LineJoin lineJoin) |
void |
setLineWidth(int width) |
void |
setSolidLine() |
void |
setTextAntiAliasing(AntiAliasing antiAliasing) |
void |
setTextMarkup(Markup markup) |
public GraphicContextWrapper(IGraphicContext original)
public void setSolidLine()
setSolidLine in interface IGraphicContextpublic void drawImage(IImageConstant image, int x, int y, int width, int height)
drawImage in interface IGraphicContextpublic void setAntiAliasing(AntiAliasing antiAliasing)
setAntiAliasing in interface IGraphicContextCommonpublic void drawImage(IImageConstant image, int x, int y)
drawImage in interface IGraphicContextCommonpublic void setTextAntiAliasing(AntiAliasing antiAliasing)
setTextAntiAliasing in interface IGraphicContextCommonpublic void drawImage(IImageConstant image)
drawImage in interface IGraphicContextpublic void setLineWidth(int width)
setLineWidth in interface IGraphicContextCommonpublic void setDashedLine(float[] pattern,
float offset)
setDashedLine in interface IGraphicContextCommonpublic void setLineCap(LineCap lineCap)
setLineCap in interface IGraphicContextCommonpublic void setLineJoin(LineJoin lineJoin)
setLineJoin in interface IGraphicContextCommonpublic void setFontSize(int size)
setFontSize in interface IGraphicContextCommonpublic void setFontName(java.lang.String fontName)
setFontName in interface IGraphicContextCommonpublic void setTextMarkup(Markup markup)
setTextMarkup in interface IGraphicContextCommonpublic void setForegroundColor(IColorConstant color)
setForegroundColor in interface IGraphicContextCommonpublic void setBackgroundColor(IColorConstant color)
setBackgroundColor in interface IGraphicContextCommonpublic void clearRectangle(Rectangle bounds)
clearRectangle in interface IGraphicContextpublic void clear()
clear in interface IGraphicContextpublic void clearRectangle(int x,
int y,
int width,
int height)
clearRectangle in interface IGraphicContextCommonpublic void drawPoint(int x,
int y)
drawPoint in interface IGraphicContextCommonpublic void drawLine(int x1,
int y1,
int x2,
int y2)
drawLine in interface IGraphicContextCommonpublic void drawRectangle(int x,
int y,
int width,
int height)
drawRectangle in interface IGraphicContextCommonpublic void drawPolygon(Point[] points)
drawPolygon in interface IGraphicContextCommonpublic void drawPolyline(Point[] points)
drawPolyline in interface IGraphicContextCommonpublic void drawOval(int x,
int y,
int width,
int height)
drawOval in interface IGraphicContextCommonpublic void drawArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
drawArc in interface IGraphicContextCommonpublic void fillRectangle(int x,
int y,
int width,
int height)
fillRectangle in interface IGraphicContextCommonpublic void fillPolygon(Point[] points)
fillPolygon in interface IGraphicContextCommonpublic void fillOval(int x,
int y,
int width,
int height)
fillOval in interface IGraphicContextCommonpublic void fillArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
fillArc in interface IGraphicContextCommonpublic void drawText(java.lang.String text,
int x,
int y)
drawText in interface IGraphicContextCommonpublic void copyArea(int sourceX,
int sourceY,
int sourceWidth,
int sourceHeight,
int destinationX,
int destinationY)
copyArea in interface IGraphicContextCommonpublic void drawImage(IImageConstant image, int sourceX, int sourceY, int sourceWidth, int sourceHeight, int destinationX, int destinationY, int destinationWidth, int destinationHeight)
drawImage in interface IGraphicContextCommonpublic Rectangle getBounds()
getBounds in interface IGraphicContextCommonpublic IColorConstant getForegroundColor()
getForegroundColor in interface IGraphicContextCommonpublic IColorConstant getBackgroundColor()
getBackgroundColor in interface IGraphicContextCommonpublic IFontMetrics getFontMetrics()
getFontMetrics in interface IGraphicContextCommonpublic int getTextWidth(java.lang.String text)
getTextWidth in interface IGraphicContextCommonSiehe auch Jowidgets Nutzerhandbuch