import java.awt.*;
import java.lang.*;

public class XYAxes implements Drawable {
  
    protected int x, y;
    protected int argb;
    
    ///////  CONSTRUCTORS /////////////////////////////  
    
    // zero argument constructor for future expansion 
    public XYAxes() { argb = Color.green.getRGB();}
    
    // constructor using x and y and argb
    public XYAxes(  int xVal, int yVal, int cVal ) {
	x = xVal;     y = yVal;    argb = cVal;
    }	
    
 
    public XYAxes( int xVal, int yVal ) {
	x = xVal;     y = yVal; argb = Color.green.getRGB();
    }	
    
    
    /////////  METHODS  ////////////////////////////

    public void set( int xVal, int yVal ) {
	x = xVal;     y = yVal;
    }

    
    public void draw( Raster r) {
	for( int i=0; i<20; i++ ) {
	    int pix = argb; 
	    r.setPixel( pix, x+i, y);
	    r.setPixel( pix, x, y+i);
	}
    }
	

    public  void drawLine( Raster r ){;}
    public  void drawLine( Raster r, float[] alpha, float[] red,  float[] green,  float[] blue) {;}



} // CLASS XYAXES
