Back to project page markers.
The source code is released under:
Apache License
If you think the Android project markers listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.google.android.apps.markers; //w w w .j ava2 s .c o m import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.Rect; import android.graphics.RectF; public interface CanvasLite { public void drawRect(float l, float t, float r, float b, Paint paint); public void drawCircle(float x, float y, float r, Paint paint); public void drawColor(int color, PorterDuff.Mode mode); public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint); public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint); public void drawTo(Canvas drawCanvas, float left, float top, Paint paint, boolean dirtyOnly); public Bitmap toBitmap(); public void recycleBitmaps(); public int getWidth(); public int getHeight(); }