canvas.measureText( text ).width 可以获取text的宽度,实现canvas里文字换行。 drawText: function(t, x, y, w) { var c =
確定! 回上一頁