在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/HTML5/ 如何讓canvas文字旋轉(zhuǎn)一定的角度?

如何讓canvas文字旋轉(zhuǎn)一定的角度?

  ctx=canvas.getContext("2d");
  ctx.font="60px microsoft yahei";
  ctx.fillStyle = "rgba(255,255,255,0.5)";  
  ctx.fillText("aaaaaa",300,220);
回答
編輯回答
心悲涼

ctx.rotate()

2018年5月5日 20:33