public class TranslatedGraphicContext extends GraphicContextWrapper implements IGraphicContext
| Constructor and Description |
|---|
TranslatedGraphicContext(IGraphicContext original,
int offsetX,
int offsetY) |
TranslatedGraphicContext(IGraphicContext original,
Point offset) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearRectangle(int x,
int y,
int width,
int height) |
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) |
Rectangle |
getBounds() |
clear, clearRectangle, getBackgroundColor, getFontMetrics, getForegroundColor, getTextWidth, setAntiAliasing, setBackgroundColor, setDashedLine, setFontName, setFontSize, setForegroundColor, setLineCap, setLineJoin, setLineWidth, setSolidLine, setTextAntiAliasing, setTextMarkupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, clearRectangle, setSolidLinegetBackgroundColor, getFontMetrics, getForegroundColor, getTextWidth, setAntiAliasing, setBackgroundColor, setDashedLine, setFontName, setFontSize, setForegroundColor, setLineCap, setLineJoin, setLineWidth, setTextAntiAliasing, setTextMarkuppublic TranslatedGraphicContext(IGraphicContext original, int offsetX, int offsetY)
public TranslatedGraphicContext(IGraphicContext original, Point offset)
public void clearRectangle(int x,
int y,
int width,
int height)
clearRectangle in interface IGraphicContextCommonclearRectangle in class GraphicContextWrapperpublic void drawPoint(int x,
int y)
drawPoint in interface IGraphicContextCommondrawPoint in class GraphicContextWrapperpublic void drawLine(int x1,
int y1,
int x2,
int y2)
drawLine in interface IGraphicContextCommondrawLine in class GraphicContextWrapperpublic void drawImage(IImageConstant image, int x, int y, int width, int height)
drawImage in interface IGraphicContextdrawImage in class GraphicContextWrapperpublic void drawImage(IImageConstant image, int x, int y)
drawImage in interface IGraphicContextCommondrawImage in class GraphicContextWrapperpublic void drawImage(IImageConstant image)
drawImage in interface IGraphicContextdrawImage in class GraphicContextWrapperpublic void drawRectangle(int x,
int y,
int width,
int height)
drawRectangle in interface IGraphicContextCommondrawRectangle in class GraphicContextWrapperpublic void drawOval(int x,
int y,
int width,
int height)
drawOval in interface IGraphicContextCommondrawOval in class GraphicContextWrapperpublic void drawArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
drawArc in interface IGraphicContextCommondrawArc in class GraphicContextWrapperpublic void fillRectangle(int x,
int y,
int width,
int height)
fillRectangle in interface IGraphicContextCommonfillRectangle in class GraphicContextWrapperpublic void fillOval(int x,
int y,
int width,
int height)
fillOval in interface IGraphicContextCommonfillOval in class GraphicContextWrapperpublic void fillArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
fillArc in interface IGraphicContextCommonfillArc in class GraphicContextWrapperpublic void drawText(java.lang.String text,
int x,
int y)
drawText in interface IGraphicContextCommondrawText in class GraphicContextWrapperpublic void copyArea(int sourceX,
int sourceY,
int sourceWidth,
int sourceHeight,
int destinationX,
int destinationY)
copyArea in interface IGraphicContextCommoncopyArea in class GraphicContextWrapperpublic void drawImage(IImageConstant image, int sourceX, int sourceY, int sourceWidth, int sourceHeight, int destinationX, int destinationY, int destinationWidth, int destinationHeight)
drawImage in interface IGraphicContextCommondrawImage in class GraphicContextWrapperpublic void drawPolygon(Point[] points)
drawPolygon in interface IGraphicContextCommondrawPolygon in class GraphicContextWrapperpublic void drawPolyline(Point[] points)
drawPolyline in interface IGraphicContextCommondrawPolyline in class GraphicContextWrapperpublic void fillPolygon(Point[] points)
fillPolygon in interface IGraphicContextCommonfillPolygon in class GraphicContextWrapperpublic Rectangle getBounds()
getBounds in interface IGraphicContextCommongetBounds in class GraphicContextWrapperSiehe auch Jowidgets Nutzerhandbuch