Dustyposa's recent timeline updates
Dustyposa

Dustyposa

V2EX member #433560, joined on 2019-08-02 15:25:47 +08:00
canvas 画线为什么颜色不对
JavaScript  •  Dustyposa  •  May 23, 2023  •  Lastly replied by lFork
17
求助: webpack 打包 中文被转码
JavaScript  •  Dustyposa  •  Nov 4, 2019  •  Lastly replied by Dustyposa
2
如何利用 websocket 给子进程传输 stdin
Python  •  Dustyposa  •  Sep 25, 2019  •  Lastly replied by Dustyposa
6
请问 'FreeCad' 这个包如何安装呢?
Python  •  Dustyposa  •  Sep 8, 2019  •  Lastly replied by Dustyposa
8
如何加速 Python 的 import 模块的速度
Python  •  Dustyposa  •  Aug 26, 2019  •  Lastly replied by Dustyposa
2
Dustyposa's recent replies
服务器在一个网段。
网络波动。
May 15, 2020
Replied to a topic by nutting 问与答 用 windows 的你们都是怎么装的 docker
参见官网。。。
Apr 7, 2020
Replied to a topic by jenlors Python 花了一天时间,写了一个 fastapi-admin~
大佬专业
Mar 20, 2020
Replied to a topic by 5TuNan Python Python 实现延时任务
任务简单的话 可以上原生简单的调度库
sched

https://docs.python.org/zh-cn/3/library/sched.html?highlight=sched
Mar 5, 2020
Replied to a topic by Colorful Python 爬虫小白,想请教几个问题
`Path(name).write_bytes()`
存图片
Mar 2, 2020
Replied to a topic by Dustyposa JavaScript canvas 画线为什么颜色不对
但是多次 stroke 就变深了,我觉得一开始就应该可以变深的感觉。。
Mar 2, 2020
Replied to a topic by Dustyposa JavaScript canvas 画线为什么颜色不对
谢谢大佬们 我还试了一个 这样也会变深色。。
```javascript
// var lineJoin = ['round', 'bevel', 'miter'];
var canvas = document.getElementById("canvas");
let ctx = canvas.getContext('2d');
ctx.beginPath();
ctx.strokeStyle = 'black';
ctx.moveTo(10, 10);
ctx.lineTo(110, 10);
ctx.closePath();
ctx.stroke();
```
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3144 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 14:36 · PVG 22:36 · LAX 07:36 · JFK 10:36
♥ Do have faith in what you're doing.