001/*
002 * To change this template, choose Tools | Templates
003 * and open the template in the editor.
004 */
005package armyc2.c5isr.graphics2d;
006import armyc2.c5isr.renderer.utilities.Color;
007
008/**
009 *
010*
011 */
012public class Graphics2D {
013    private Font _font=null;
014    private FontMetrics _fontMetrics=null;
015    private FontRenderContext _fontRenderContext=null;
016    public Graphics2D()
017    {
018        _font=new Font("arial",10,10);
019        _fontMetrics=new FontMetrics(_font);
020    }
021    public void setFont(Font value)
022    {
023        _font=value;
024        _fontMetrics=new FontMetrics(_font);
025    }
026    public Font getFont()
027    {
028        return null;
029    }
030    public void setFontMetrics(FontMetrics value)
031    {
032        _fontMetrics=value;
033    }
034    public FontMetrics getFontMetrics()
035    {
036        return _fontMetrics;
037    }
038    public void setColor(Color color)
039    {
040        //return;
041    }
042    public void setBackground(Color color)
043    {
044        //return;
045    }
046    public void setTransform(AffineTransform id)
047    {
048        //return;
049    }
050    public AffineTransform getTransform()
051    {
052        return null;
053    }
054    public void setStroke(BasicStroke stroke)
055    {
056        //return;
057    }
058    public void drawLine(double x1, double y1, double x2, double y2 )
059    {
060        //return;
061    }
062    public void dispose()
063    {
064        //return;
065    }
066    public void rotate(double theta, double x, double y)
067    {
068        //return;
069    }
070    public void clearRect(double x, double y, double width, double height)
071    {
072        //return;
073    }
074    public void drawString(String s, double x, double y)
075    {
076        //return;
077    }
078    public FontRenderContext getFontRenderContext()
079    {
080        return _fontRenderContext;
081    }
082}