FileDocCategorySizeDatePackage
AndroidGraphicsFactory.javaAPI DocAndroid 1.5 API2818Wed May 06 22:41:54 BST 2009com.android.internal.awt

AndroidGraphicsFactory

public class AndroidGraphicsFactory extends org.apache.harmony.awt.gl.CommonGraphics2DFactory

Fields Summary
Constructors Summary
Methods Summary
public java.awt.GraphicsEnvironmentcreateGraphicsEnvironment(org.apache.harmony.awt.wtk.WindowFactory wf)

        // TODO Auto-generated method stub
        return null;
    
public java.awt.FontembedFont(java.lang.String fontFilePath)

        // TODO Auto-generated method stub
        return null;
    
public org.apache.harmony.awt.gl.font.FontManagergetFontManager()

        return AndroidFontManager.inst;
    
public java.awt.FontMetricsgetFontMetrics(java.awt.Font font)

        return new FontMetricsImpl(font);
    
public java.awt.peer.FontPeergetFontPeer(java.awt.Font font)

        //return getFontManager().getFontPeer(font.getName(), font.getStyle(), font.getSize());
        return new AndroidFont(font.getName(), font.getStyle(), font.getSize());
    
public java.awt.Graphics2DgetGraphics2D()

        return AndroidGraphics2D.getInstance();
    
public java.awt.Graphics2DgetGraphics2D(org.apache.harmony.awt.wtk.NativeWindow win, int translateX, int translateY, org.apache.harmony.awt.gl.MultiRectArea clip)

        // TODO Auto-generated method stub
        return null;
    
public java.awt.Graphics2DgetGraphics2D(org.apache.harmony.awt.wtk.NativeWindow win, int translateX, int translateY, int width, int height)

        // TODO Auto-generated method stub
        return null;
    
public java.awt.Graphics2DgetGraphics2D(android.content.Context ctx, android.graphics.Canvas c, android.graphics.Paint p)

        return AndroidGraphics2D.getInstance(ctx, c, p);
    
public java.awt.Graphics2DgetGraphics2D(android.graphics.Canvas c, android.graphics.Paint p)

        throw new RuntimeException("Not supported!");