Python中的魔杖path_curve()函数
path_curve()是专门为路径引入的函数。 path_curve() 借助控制点从图像的目标点到特定点 (x, y) 绘制三次贝塞尔曲线。
Syntax :
Parameters:
Parameter Input Type Description to sequence or (numbers.Real, numbers.Real) pair which represents coordinates to drawn to. controls collections.abc.sequence or (numbers.Real, numbers.Real) coordinate to used to influence curve smooth bool assume last defined control coordinate relative bool treat given coordinates as relative to current point.
示例 #1:
Python3
wand.drawing.path_curve(to, controls, smooth, relative)
输出 :