{"action":"closed","issue":{"url":"https://api.github.com/repos/s-yadav/patternLock/issues/10","labels_url":"https://api.github.com/repos/s-yadav/patternLock/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/s-yadav/patternLock/issues/10/comments","events_url":"https://api.github.com/repos/s-yadav/patternLock/issues/10/events","html_url":"https://github.com/s-yadav/patternLock/issues/10","id":123580145,"number":10,"title":"Calculation and fixation","user":{"login":"freedomlizhigang","id":10248827,"avatar_url":"https://avatars.githubusercontent.com/u/10248827?v=3","gravatar_id":"","url":"https://api.github.com/users/freedomlizhigang","html_url":"https://github.com/freedomlizhigang","followers_url":"https://api.github.com/users/freedomlizhigang/followers","following_url":"https://api.github.com/users/freedomlizhigang/following{/other_user}","gists_url":"https://api.github.com/users/freedomlizhigang/gists{/gist_id}","starred_url":"https://api.github.com/users/freedomlizhigang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freedomlizhigang/subscriptions","organizations_url":"https://api.github.com/users/freedomlizhigang/orgs","repos_url":"https://api.github.com/users/freedomlizhigang/repos","events_url":"https://api.github.com/users/freedomlizhigang/events{/privacy}","received_events_url":"https://api.github.com/users/freedomlizhigang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-23T00:18:19Z","updated_at":"2015-12-23T13:16:27Z","closed_at":"2015-12-23T13:16:27Z","body":"// newX = (posObj.i - 1) * (2 * margin + 2 * radius) + 2 * margin + radius,\r\n// newY = (posObj.j - 1) * (2 * margin + 2 * radius) + 2 * margin + radius;\r\n// Instead of calculating the position of the current element, it can be arranged into any shape.\r\nnewX = elm.position().left,\r\nnewY = elm.position().top;"}}