draw_hline


Description:

public void draw_hline (int x1, int x2, int y, Color c)

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 draw_line.

Parameters:

x1

starting X coordinate

x2

ending X coordinate

y

Y coordinate

c

the color


Namespace: Grx.User
Package: grx-3.0