/* Generated By:JJTree: Do not edit this line. ASTRectangle.java */
import java.io.*;

public class ASTRectangle extends SimpleNode 
{
	public ASTRectangle(int id) 
	{
		super(id);
	}

	public ASTRectangle(DrawPhase2 p, int id) 
	{
		super(p, id);
	}

	public void generate(FileWriter SVGFile, int X, 
						int Y, String colour, int brush)
    {
        DrawRectangle
			(SVGFile, X, Y, colour, brush,
			((ASTInt)jjtGetChild(0)).val, 
			((ASTInt)jjtGetChild(1)).val, 
			((ASTInt)jjtGetChild(2)).val, 
			((ASTInt)jjtGetChild(3)).val
		);
    }
}
