gpt4 book ai didi

Flutter, quadraticBezierTo 哪个是 x 和 y?

转载 作者:行者123 更新时间:2023-12-02 01:54:10 25 4
gpt4 key购买 nike

enter image description here

在上面的场景中,x1 和 y1 和 x2 和 y2 是什么点???

对于

Path path = Path();
path.quadraticBezierTo(x1, y1, x2, y2)

最佳答案

https://api.flutter.dev/flutter/dart-ui/Path/quadraticBezierTo.html说:

Adds a quadratic bezier segment that curves from the current point to the given point (x2,y2), using the control point (x1,y1).

即(x1,y1)是你图片中的“ handle 点”,(x2,y2)是终点。

关于Flutter, quadraticBezierTo 哪个是 x 和 y?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69822417/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com