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, setTextMarkup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, clearRectangle, setSolidLine
getBackgroundColor, getFontMetrics, getForegroundColor, getTextWidth, setAntiAliasing, setBackgroundColor, setDashedLine, setFontName, setFontSize, setForegroundColor, setLineCap, setLineJoin, setLineWidth, setTextAntiAliasing, setTextMarkup
public 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 IGraphicContextCommon
clearRectangle
in class GraphicContextWrapper
public void drawPoint(int x, int y)
drawPoint
in interface IGraphicContextCommon
drawPoint
in class GraphicContextWrapper
public void drawLine(int x1, int y1, int x2, int y2)
drawLine
in interface IGraphicContextCommon
drawLine
in class GraphicContextWrapper
public void drawImage(IImageConstant image, int x, int y, int width, int height)
drawImage
in interface IGraphicContext
drawImage
in class GraphicContextWrapper
public void drawImage(IImageConstant image, int x, int y)
drawImage
in interface IGraphicContextCommon
drawImage
in class GraphicContextWrapper
public void drawImage(IImageConstant image)
drawImage
in interface IGraphicContext
drawImage
in class GraphicContextWrapper
public void drawRectangle(int x, int y, int width, int height)
drawRectangle
in interface IGraphicContextCommon
drawRectangle
in class GraphicContextWrapper
public void drawOval(int x, int y, int width, int height)
drawOval
in interface IGraphicContextCommon
drawOval
in class GraphicContextWrapper
public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)
drawArc
in interface IGraphicContextCommon
drawArc
in class GraphicContextWrapper
public void fillRectangle(int x, int y, int width, int height)
fillRectangle
in interface IGraphicContextCommon
fillRectangle
in class GraphicContextWrapper
public void fillOval(int x, int y, int width, int height)
fillOval
in interface IGraphicContextCommon
fillOval
in class GraphicContextWrapper
public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)
fillArc
in interface IGraphicContextCommon
fillArc
in class GraphicContextWrapper
public void drawText(java.lang.String text, int x, int y)
drawText
in interface IGraphicContextCommon
drawText
in class GraphicContextWrapper
public void copyArea(int sourceX, int sourceY, int sourceWidth, int sourceHeight, int destinationX, int destinationY)
copyArea
in interface IGraphicContextCommon
copyArea
in class GraphicContextWrapper
public void drawImage(IImageConstant image, int sourceX, int sourceY, int sourceWidth, int sourceHeight, int destinationX, int destinationY, int destinationWidth, int destinationHeight)
drawImage
in interface IGraphicContextCommon
drawImage
in class GraphicContextWrapper
public void drawPolygon(Point[] points)
drawPolygon
in interface IGraphicContextCommon
drawPolygon
in class GraphicContextWrapper
public void drawPolyline(Point[] points)
drawPolyline
in interface IGraphicContextCommon
drawPolyline
in class GraphicContextWrapper
public void fillPolygon(Point[] points)
fillPolygon
in interface IGraphicContextCommon
fillPolygon
in class GraphicContextWrapper
public Rectangle getBounds()
getBounds
in interface IGraphicContextCommon
getBounds
in class GraphicContextWrapper
Siehe auch Jowidgets Nutzerhandbuch