fast_draw_vline


Description:

public void fast_draw_vline (int x, int y1, int y2, Color c)

Draws a vertical line on the current context from the starting coordinates to the ending coordinates using the specified color.

This is more efficient that using fast_draw_line.

This function does not perform clipping. If you cannot ensure that the endpoints are within the bounds of the current context, then use draw_hline instead.

Parameters:

x

X coordinate

y1

starting Y coordinate

y2

ending Y coordinate

c

the color


Namespace: Grx
Package: grx-3.0