Commit b4aa83dc by doszhang

dos

parent d14f4e4b
......@@ -155,6 +155,11 @@ function createPoster(name, business) {
var headimgObj = new Image();
headimgObj.src = getManBase64(uploadCanvas);
headimgObj.onload = function () {
posterCtx.beginPath();
posterCtx.arc(168, 401, 45, 0, 2 * Math.PI);
posterCtx.fillStyle = "#fff"; //填充颜色,默认是黑色
posterCtx.fill(); //画实心圆
posterCtx.closePath();
posterCtx.drawImage(headimgObj, 170, 402, 87, 87);
drawUserInfo(name, business, 20, 'bolder');
drawNum();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment