Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Simple Developer
Simple Developer
[code lang=”java”] // Create empty bitmap Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
// Create canvas to draw drawable Canvas canvas = new Canvas(bitmap);
// Set bounds d.setBounds(0, 0, 48, 48);
// Draw drawable to canvas d.draw(canvas);
// Save canvas canvas.save(); [/code]