public interface IGraphics
| Modifier and Type | Method and Description |
|---|---|
void |
clearRect(int x,
int y,
int width,
int height) |
void |
clip(Shape s) |
void |
clipRect(int x,
int y,
int width,
int height) |
void |
copyArea(int x,
int y,
int width,
int height,
int dx,
int dy) |
IGraphics |
create() |
void |
draw(Shape s) |
void |
drawArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle) |
void |
drawGlyphVector(GlyphVector g,
float x,
float y) |
void |
drawImage(BufferedImage img,
BufferedImageOp op,
int x,
int y) |
boolean |
drawImage(Image img,
AffineTransform xform,
ImageObserver obs) |
boolean |
drawImage(Image img,
int x,
int y,
Color bgcolor,
ImageObserver observer) |
boolean |
drawImage(Image img,
int x,
int y,
ImageObserver observer) |
boolean |
drawImage(Image img,
int x,
int y,
int width,
int height,
Color bgcolor,
ImageObserver observer) |
boolean |
drawImage(Image img,
int x,
int y,
int width,
int height,
ImageObserver observer) |
boolean |
drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
Color bgcolor,
ImageObserver observer) |
boolean |
drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
ImageObserver observer) |
void |
drawLine(int x1,
int y1,
int x2,
int y2) |
void |
drawOval(int x,
int y,
int width,
int height) |
void |
drawPolygon(int[] xPoints,
int[] yPoints,
int nPoints) |
void |
drawPolyline(int[] xPoints,
int[] yPoints,
int nPoints) |
void |
drawRenderableImage(RenderableImage img,
AffineTransform xform) |
void |
drawRenderedImage(RenderedImage img,
AffineTransform xform) |
void |
drawRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight) |
void |
drawString(AttributedCharacterIterator iterator,
float x,
float y) |
void |
drawString(AttributedCharacterIterator iterator,
int x,
int y) |
void |
drawString(String str,
float x,
float y) |
void |
drawString(String str,
int x,
int y) |
void |
fill(Shape s) |
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(int[] xPoints,
int[] yPoints,
int nPoints) |
void |
fillRect(int x,
int y,
int width,
int height) |
void |
fillRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight) |
Color |
getBackground() |
Shape |
getClip() |
Rectangle |
getClipBounds() |
Color |
getColor() |
Composite |
getComposite() |
GraphicsConfiguration |
getDeviceConfiguration() |
Font |
getFont() |
FontMetrics |
getFontMetrics(Font f) |
FontRenderContext |
getFontRenderContext() |
Paint |
getPaint() |
Object |
getRenderingHint(RenderingHints.Key hintKey) |
RenderingHints |
getRenderingHints() |
Stroke |
getStroke() |
AffineTransform |
getTransform() |
boolean |
hit(Rectangle rect,
Shape s,
boolean onStroke) |
void |
rotate(double theta) |
void |
rotate(double theta,
double x,
double y) |
void |
scale(double sx,
double sy) |
void |
setBackground(Color color) |
void |
setClip(int x,
int y,
int width,
int height) |
void |
setClip(Shape clip) |
void |
setColor(Color c) |
void |
setComposite(Composite comp) |
void |
setFont(Font font) |
void |
setPaint(Paint paint) |
void |
setPaintMode() |
void |
setStroke(Stroke s) |
void |
setTransform(AffineTransform Tx) |
void |
setXORMode(Color c1) |
void |
shear(double shx,
double shy) |
void |
transform(AffineTransform Tx) |
void |
translate(double tx,
double ty) |
void |
translate(int x,
int y) |
void draw(Shape s)
boolean drawImage(Image img, AffineTransform xform, ImageObserver obs)
void drawImage(BufferedImage img, BufferedImageOp op, int x, int y)
void drawRenderedImage(RenderedImage img, AffineTransform xform)
void drawRenderableImage(RenderableImage img, AffineTransform xform)
void drawString(String str, int x, int y)
void drawString(String str, float x, float y)
void drawString(AttributedCharacterIterator iterator, int x, int y)
void drawString(AttributedCharacterIterator iterator, float x, float y)
void drawGlyphVector(GlyphVector g, float x, float y)
void fill(Shape s)
GraphicsConfiguration getDeviceConfiguration()
void setComposite(Composite comp)
void setPaint(Paint paint)
void setStroke(Stroke s)
Object getRenderingHint(RenderingHints.Key hintKey)
RenderingHints getRenderingHints()
void translate(int x,
int y)
void translate(double tx,
double ty)
void rotate(double theta)
void rotate(double theta,
double x,
double y)
void scale(double sx,
double sy)
void shear(double shx,
double shy)
void transform(AffineTransform Tx)
void setTransform(AffineTransform Tx)
AffineTransform getTransform()
Paint getPaint()
Composite getComposite()
void setBackground(Color color)
Color getBackground()
Stroke getStroke()
void clip(Shape s)
FontRenderContext getFontRenderContext()
IGraphics create()
Color getColor()
void setColor(Color c)
void setPaintMode()
void setXORMode(Color c1)
Font getFont()
void setFont(Font font)
FontMetrics getFontMetrics(Font f)
Rectangle getClipBounds()
void clipRect(int x,
int y,
int width,
int height)
void setClip(int x,
int y,
int width,
int height)
Shape getClip()
void setClip(Shape clip)
void copyArea(int x,
int y,
int width,
int height,
int dx,
int dy)
void drawLine(int x1,
int y1,
int x2,
int y2)
void fillRect(int x,
int y,
int width,
int height)
void clearRect(int x,
int y,
int width,
int height)
void drawRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
void fillRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
void drawOval(int x,
int y,
int width,
int height)
void fillOval(int x,
int y,
int width,
int height)
void drawArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
void fillArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
void drawPolyline(int[] xPoints,
int[] yPoints,
int nPoints)
void drawPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
void fillPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
boolean drawImage(Image img, int x, int y, ImageObserver observer)
boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)
boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)
boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)
boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)
Copyright © 2007–2019 Andreas W. Bartels. All rights reserved.