var c =document.getElementById('testcanvas');
var p = c.getContext("2d");
p.fillStyle="#FF0000";
p.fillRect(0, 0, 300, 300);
p.fillStyle="rgba(0,0,255,0.5)";
p.fillRect(200,200,500,500);
/**
* Created by 水寒 on 2017/11/16.
*/publicclassProvince{
@Inject
public City city;
@Inject
publicProvince(City city){this.city= city;}public String showAddress(){return"四川省"+ city.show();}}