# Drawing api

**URL:** <https://forum.kirupa.com/t/drawing-api/115948>\
**Category:** Uncategorized\
**Created:** [July 13, 2004, 10:16am UTC](https://forum.kirupa.com/t/drawing-api/115948 "2004-07-13T10:16:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtpt](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jtpt](https://forum.kirupa.com/u/jtpt)\
**Post date:** [July 13, 2004, 10:16am UTC](https://forum.kirupa.com/t/drawing-api/115948/1 "2004-07-13T10:16:20Z")

</div>

i’m suppose to create a drawing api which consist of a line tool and a closed polygon tool. users are able to use this line tools to draw straight line between any 2 point. and the polygon tool is to create a shape irregardless of how many points as long as the first dot and the last dot meets, it will form a shape. is there a way to find the angles inside the polygon? is there also a way to find the point where the lines intersect and its angles?
