How to draw GL.LINES with gradient color

is there any way i can create a GL.Line with gradient color ? like a line getting transparent at the edge. link:

Yes! Just set a color before each vertex!

 GL.Color( Color.clear );
 GL.Vertex( pos1.position );
 GL.Color( Color.white );
 GL.Vertex( pos2.position );