VOOZH about

URL: https://www.geeksforgeeks.org/python/wand-path_horizontal_line-function-in-python/

⇱ Wand path_horizontal_line() function in Python - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Wand path_horizontal_line() function in Python

Last Updated : 11 May, 2020
The path_horizontal_line() is another function for path. path_horizontal_line() function generates a horizontal line from a destination point to a particular x point. It takes only x in arguments as a point upto which line is being drawn.
Syntax: wand.drawing.path_horizontal_line(to, relative) Parameters:
Parameter Input Type Description
x Real x-axis point to draw to.
relative bool treat given coordinates as relative to current point.
Example #1: Output: 👁 Image
Example #2:
Output: 👁 Image
Comment
Article Tags: