Python中的魔杖path_line()函数
path_line()是专门为路径引入的函数。 path_line() 从目标点到我们想要的点画一条线。它只需要端点作为参数。
Syntax :
Parameters:
Parameter Input Type Description to sequence or (numbers.Real, numbers.Real) pair which represents coordinates to drawn to. relative bool treat given coordinates as relative to current point.
示例 #1:
Python3
wand.drawing.path_line(to, relative)
输出 :