please help... any links at all would help.
--- In [email protected], "jensen.axel" <[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> I need a little help, i've found some resources online on how to draw
> with your mouse, and most of them are like drawing with the pencil in
> any normal graphics programs... but i need to be able to have the user
> draw a straight line...
>
> when you mouseDown, that is the start point of the line...
>
> while your dragging the end of the line stays glued to your mouseX &
> mouseY till you mouseUp...
>
> I'm doing this extending a uicomponent... but having trouble finding
> good resources for this particular straight line type of use case...
>
> any help or links to get me pointed in the right direction would help
> tremendously.
>
> Thank you.
> Axel
>