魔杖 bezier()函数- Python
bezier()函数是Python Wand ImageMagick 库中的一个内置函数,用于从指定点绘制贝塞尔曲线。
Syntax:
Parameters: This function accepts single parameter as mentioned above and defined below:
- points: This parameter is used to specify the value of points. It is of List-type which is used to declare array of points.
Return Value: This function returns the Wand ImageMagick object.
示例 1:
Python3
bezier(points)
输出: