Microsoft Visual J++. Java


Graphics - 2


 

//

public abstract boolean

drawImage(Image img, int x, int y,

ImageObserver observer);

 

//

public abstract boolean

drawImage(Image img, int x, int y,

int width, int height, Color bgcolor,

ImageObserver observer);

 

//

public abstract boolean

drawImage(Image img, int x, int y,

int width, int height, ImageObserver observer);

 

//

public abstract void drawLine(int x1, int y1,

int x2, int y2);

 

//

public abstract void drawOval(int x, int y,

int width, int height);

 

//

public abstract void

drawPolygon(int xPoints[], int yPoints[], int nPoints);

 

//

public void drawPolygon(Polygon p);

 

//

public void drawRect(int x, int y,

int width, int height);

 

//

public abstract void

drawRoundRect(int x, int y, int width,

int height, int arcWidth, int arcHeight);

 

//

public abstract void

drawString(String str, int x, int y);

 

//

//

public void

fill3DRect(int x, int y, int width,

int height, boolean raised);

 

//

public abstract void

fillArc(int x, int y, int width,

int height, int startAngle, int arcAngle);

 

//

public abstract void

fillOval(int x, int y, int width, int height);

 

//

public abstract void

fillPolygon(int xPoints[], int yPoints[], int nPoints);

 

//

public void fillPolygon(Polygon p);