11-24-2011, 11:55 AM
(11-24-2011, 11:03 AM)gid15 Wrote:Have you tried to also set the alpha value of the line's color?Code:gd.setColor(new Color( red[counter],green[counter],blue[counter]));
gd.drawLine(start.x, start.y, end.x, end.y);
Yes, I have...
Code:
gd.setColor(new Color( red[counter],green[counter],blue[counter], 255 ));
If we set the container's opacity to 0f, then no line will be showed...
P.S : my final objective is to get this line drawn in fully transparent background ^_^. The cursor image will act like a "laser pointer" used in presentations... so when the pointer is moved, we will have a line drawn to imitate a highlighter.