# Drawing API?

**URL:** <https://forum.kirupa.com/t/drawing-api/251635>\
**Category:** flash\
**Created:** [February 11, 2008, 10:31am UTC](https://forum.kirupa.com/t/drawing-api/251635 "2008-02-11T10:31:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hrbi](https://avatars.discourse-cdn.com/v4/letter/h/f475e1/32.png) [@hrbi](https://forum.kirupa.com/u/hrbi)\
**Post date:** [February 11, 2008, 10:31am UTC](https://forum.kirupa.com/t/drawing-api/251635/1 "2008-02-11T10:31:16Z")

</div>

Hi guys…

Please help me understanding the x an y cordinates. I want to make like a basic square to understand where the lines starts and ends. I know how the code for this look likes, but i dont understand the moveTo() and lineTo() methodes…??

If the moveTo(x,y) starts at some cordinate, where eaxactly does the lineTo starts and end??

Is there some tutorials on this, i have seen a lot on the net, but nothing good explaination or just me being a noob…

Please advice…

Regards Hrbi
