diana
diana

Reputation: 427

How to draw a line with an arrow head?

I need to draw a line with an arrow head. How can i do this using Core graphics. Any help!!!

Upvotes: 1

Views: 1677

Answers (1)

Peter Hosey
Peter Hosey

Reputation: 96333

  1. Draw a line.
  2. Draw a triangle at the end of it.

Yes, that is, in fact, the only way. (Well, unless somebody has released some source code that does that for you. If not, maybe you'll be the one to do so? ☺)

Upvotes: 3

Related Questions