When using drawArrow() the Arrow head is not at the end of the line

Hi I’m trying to draw an arrow this is the code I’m using

posArr = new float[]{30,30, 100, 100};
Line l = new Line(posArr);
l.drawArrow(graph1);
l.getGraphInfo().setIsAddedArrowAtEnd(true);
l.getGraphInfo().setLineWidth(10);

graph1.getShapes().add(l);

when I run it I get an Arrow with head the problem is the head of the Arrow is in the wrong place or does not take into account the line thickness.

please see the attached file to see what I mean

Hi Paul,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for sharing the details.

I am able to reproduce your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: PDFJAVA-33160. You will be notified via this forum thread regarding any updates against your reported issue.

Sorry for the inconvenience,

any news on this issue? has it been fixed yet?

Hi Paul,


Thanks for your patience.

I am pleased to share that the issue reported earlier has
been resolved in latest release version of Aspose.Pdf for Java 3.3.0. Please
try using the latest release version and in case the problem still persists or
you have any further query, please feel free to contact.