// xt, yt 是我们想要穿过的一点// x0, y0 以及 x2, y2 是曲线的两端x1 = xt * 2 – (x0 + x2) / 2;y1 = yt * 2 – (y0 + y2) / 2;moveTo(x0, y0);curveTo(x1, y1, x2, y2);
Powered by: 博客园 Copyright © 2024 Bill Yuan Powered by .NET 9.0 on Kubernetes