The arrow is really up to you. Java2D lets you define how the line terminates (with Stroke), but to draw an arrow head, you'll have to do your own drawing (either shape outline and fill, or just the lines).

David

Thus Spoke Thanasis (Hotmail):
Hi to every one,
what i want to achieve is to draw a quadratic arrow-headed curve between 2 arbitrary points P1,P2.
I already know how to draw a curve using the quadTo method of GeneralPath class.
i don't know how to add an arrow to either P1 or P2.
Thanks in advance
Thanasis
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to