What I want to do is to draw lines using the gd library function ImageLine, but I would like to ask is there any method I can draw lines with direction? i.e. I can see which is the starting point of the line and which is the end point. Is there any way to achieve this?

Thanks,

    What do you mean by you want to see the starting and ending point of the line? Do you want the coordinates to be written to the image? Then use ImageString(). If you want a bigger dot at the start and end of the line, then use ImageEllipse().

    Diego

      Write a Reply...