x = 80;
canvas.drawSolidRectangle(x, y, width, height, black);
subcanvas = canvas.createSubcanvas(x + 1, y + 1, width - 1, height - 1);
subcanvas.drawSolidRectangle(0, 0, width - 2, height - 2, blue);
x = 150;
canvas.drawRectangle(x, y, width, width, black);
canvas.drawOval(x, y, width, width, green);