html5阴影

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>绘制阴影</title>
</head>
<body>
    <canvas , 100, 10)

    ctx.fillStyle = "#ff0";
    ctx.font = "50px 黑体";
    ctx.textBaseline = "top";
    ctx.fillText("阴影文字小蕾", 100, 120)

    ctx.fillRect(20, 200, 100, 150);
    ctx.lineWidth = 8;
    ctx.strokeRect(150, 200, 100, 150);

</script>
</body>
</html>

相关文章:

  • 2022-01-01
  • 2021-05-20
  • 2022-01-23
  • 2021-11-05
  • 2021-04-23
  • 2021-05-27
猜你喜欢
  • 2021-06-12
  • 2022-12-23
  • 2021-11-10
  • 2021-04-27
  • 2021-12-30
  • 2022-01-28
相关资源
相似解决方案