// Compile-only stub (API level 10 signatures). Never packaged into the APK. package android.graphics; public class Canvas { public Canvas() { throw new RuntimeException("Stub!"); } public void drawRect(float left, float top, float right, float bottom, Paint paint) { throw new RuntimeException("Stub!"); } public void drawText(String text, float x, float y, Paint paint) { throw new RuntimeException("Stub!"); } public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) { throw new RuntimeException("Stub!"); } }