Make Arrow head at the end point and not the start point

Question:

One of the customisations that I’m doing to your library is with the arrow tool.

Where in the PDFNet library we want to swap the behavior from the arrow head being the end point instead of the start point.

I’ve tried making changes to drawRect in ArrowCreate.m to create this behavior, but it is not working out as expected.

Answer:

You can control the arrow heads using the SetEndStyle and SetBeginStyle parameters, before calling RefreshAppearance.
http://www.pdftron.com/pdfnet/mobile/docs/iOS/src/Classes/PTLineAnnot.html

http://www.pdftron.com/pdfnet/mobile/docs/iOS/src/Classes/PTLineAnnot.html#/c:objc(cs)PTLineAnnot(im)SetEndStyle:

http://www.pdftron.com/pdfnet/mobile/docs/iOS/src/Classes/PTLineAnnot.html#/c:objc(cs)PTLineAnnot(im)SetStartStyle: