Not sure if its help, but you may look at the Arrow2D shape at http://seagis.sourceforge.net/javadoc/net/seas/awt/geom/package-summary.html . This is LGPL code. Martin. ----- Message d'origine ----- De : "Vella, John" <[EMAIL PROTECTED]> Envoy� : samedi 15 septembre 2001 01:39 Objet : Anyone written code to draw lines w/ arrowheads at arbitrary angl es? > I know I'm just being lazy, but I was wondering if anyone has written any code to handle drawing lines terminated with arrowheads that can handle non-vertical and non-horizontal lines? I know it just involves calculating an angle and then rotating an image buffer containing the arrowhead, but like I said I'm lazy :-) > > Thanks in advance to anyone willing to help me out, > > John (using 1.3.1) > =========================================================================== 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".
