I needed to draw an arrowhead to show the direction of lines drawn on the canvas. When I searched for this I didn't find any complete solutions, so I wanted to share mine. Includes useful canvas routines to translate and rotate a data structure representing the polygon coordinates.
Trending Articles
More Pages to Explore .....