html - 在 html5 Canvas 上不正确显示 lineWidth=1

标签 html canvas html5-canvas

我有例子: https://developer.mozilla.org/samples/canvas-tutorial/4_5_canvas_linewidth.html 但第一行不等于 1 个像素: enter image description here 我怎样才能解决这个问题? (浏览器谷歌浏览器)

最佳答案

关于html - 在 html5 Canvas 上不正确显示 lineWidth=1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7607272/

相关文章:

javascript - 使用 <a> 提交表单

html - 文本上的 css3 动画问题

javascript - 原始像素数据到 PNG 或绘图原始像素数据

javascript - 如何在 SVG 路径之外的区域放置标签?

javascript - 将 HTML <select> 元素显示到特定的 div

javascript - Meteor 将 id 传递到链接中

javascript - 使 Canvas(矩形)环绕一个带有 border-radius 的矩形

javascript - Canvas 动画/reactjs/with requestAnimationFrame

html - 无法在html元素之间画线

javascript - 倒计时一天,每天更新?