Grx.user_draw_hline
@accepts(int, int, int, Grx.Color)
@returns(none)
def user_draw_hline(x1, x2, y, c):
# Python wrapper for grx_user_draw_hline()
Draws a horizontal line on the current context from the starting coordinates to the ending coordinates using the specified color.
This is more efficient that using Grx.user_draw_line.
- x1
starting X coordinate
- x2
ending X coordinate
- y
Y coordinate
- c
the color