Back to project page linevslinerpg.
The source code is released under:
Apache License
If you think the Android project linevslinerpg 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.jmpmain.lvslrpg; /* www . j a va 2s. c om*/ import android.graphics.Bitmap; import android.graphics.Canvas; public class LineCanvas extends Canvas { public Bitmap bitmap; public LineCanvas(int width, int height){ bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); setBitmap(bitmap); drawARGB(0, 0, 0, 0); } }