This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
For details see: http://graph.netbeans.org/servlets/ReadMsg?list=users&msgNo=683
Created attachment 43229 [details] Patch
AnchorFactory.createArrowAnchorShape method added.
double radians = Math.PI * degrees / 360.0; should be double radians = Math.PI * degrees / 180.0; sorry, Antonio
Actually I have done the angle calculation change on purpose. In technical documentations, the angle of arrow is defined as an angle between those two "wings" (not an angle between a wing and a line). Therefore I would like to leave it as it is in the patch.
I apologize for stepping into discussion which does not concern me, but for readability reasons I would prefer: double radians = Math.PI * degrees / 180.0; double cos = Math.cos (radians/2);
ME1: Done Committed in the main trunk.