kAWT Version 0.21

java.awt
Class Graphics

java.lang.Object
  |
  +--java.awt.Graphics

public class Graphics
extends java.lang.Object


Constructor Summary
Graphics()
           
 
Method Summary
 void checkContext()
           
 void clearRect(int x, int y, int w, int h)
           
 void clipRect(int x, int y, int w, int h)
           
 Graphics create()
           
 Graphics create(int x, int y, int width, int height)
           
 void drawImage(Image image, int x, int y, java.lang.Object observer)
           
 void drawLine(int x1, int y1, int x2, int y2)
           
 void drawOval(int x, int y, int w, int h)
           
 void drawPolyline(int[] xPoints, int[] yPoints, int nPoints)
           
 void drawRect(int x, int y, int width, int height)
           
 void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
           
 void drawString(java.lang.String text, int x, int y)
           
 void fillRect(int x, int y, int width, int height)
           
 void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
           
 Font getFont()
           
 FontMetrics getFontMetrics()
           
 FontMetrics getFontMetrics(Font font)
           
 void setClip(int x, int y, int w, int h)
           
 void setColor(Color c)
           
 void setFont(Font font)
           
 void setPaintMode()
           
 void setXORMode(Color c2)
           
 void translate(int x, int y)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graphics

public Graphics()
Method Detail

create

public Graphics create()

create

public Graphics create(int x,
                       int y,
                       int width,
                       int height)

checkContext

public void checkContext()

clipRect

public void clipRect(int x,
                     int y,
                     int w,
                     int h)

setClip

public void setClip(int x,
                    int y,
                    int w,
                    int h)

clearRect

public void clearRect(int x,
                      int y,
                      int w,
                      int h)

drawImage

public void drawImage(Image image,
                      int x,
                      int y,
                      java.lang.Object observer)

drawLine

public void drawLine(int x1,
                     int y1,
                     int x2,
                     int y2)

drawPolyline

public void drawPolyline(int[] xPoints,
                         int[] yPoints,
                         int nPoints)

drawRoundRect

public void drawRoundRect(int x,
                          int y,
                          int width,
                          int height,
                          int arcWidth,
                          int arcHeight)

drawString

public void drawString(java.lang.String text,
                       int x,
                       int y)

drawOval

public void drawOval(int x,
                     int y,
                     int w,
                     int h)

drawRect

public void drawRect(int x,
                     int y,
                     int width,
                     int height)

fillRect

public void fillRect(int x,
                     int y,
                     int width,
                     int height)

fillRoundRect

public void fillRoundRect(int x,
                          int y,
                          int width,
                          int height,
                          int arcWidth,
                          int arcHeight)

getFont

public Font getFont()

getFontMetrics

public FontMetrics getFontMetrics()

getFontMetrics

public FontMetrics getFontMetrics(Font font)

setColor

public void setColor(Color c)

setFont

public void setFont(Font font)

setPaintMode

public void setPaintMode()

setXORMode

public void setXORMode(Color c2)

translate

public void translate(int x,
                      int y)

kAWT Version 0.21