$ 0 0 Check out this article on point coding, looks like the CloseShape linking code is what you need: