{"action":"created","issue":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1620","labels_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1620/labels{/name}","comments_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1620/comments","events_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1620/events","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/1620","id":65419100,"number":1620,"title":"[v3 rc4] graphics lineStyle thickness bug","user":{"login":"NikkiKoole","id":453055,"avatar_url":"https://avatars.githubusercontent.com/u/453055?v=3","gravatar_id":"","url":"https://api.github.com/users/NikkiKoole","html_url":"https://github.com/NikkiKoole","followers_url":"https://api.github.com/users/NikkiKoole/followers","following_url":"https://api.github.com/users/NikkiKoole/following{/other_user}","gists_url":"https://api.github.com/users/NikkiKoole/gists{/gist_id}","starred_url":"https://api.github.com/users/NikkiKoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikkiKoole/subscriptions","organizations_url":"https://api.github.com/users/NikkiKoole/orgs","repos_url":"https://api.github.com/users/NikkiKoole/repos","events_url":"https://api.github.com/users/NikkiKoole/events{/privacy}","received_events_url":"https://api.github.com/users/NikkiKoole/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/labels/Graphics","name":"Graphics","color":"207de5"},{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/labels/WebGL","name":"WebGL","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/milestones/5","html_url":"https://github.com/GoodBoyDigital/pixi.js/milestones/v3.x","labels_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/milestones/5/labels","id":924727,"number":5,"title":"v3.x","description":"","creator":{"login":"englercj","id":944497,"avatar_url":"https://avatars.githubusercontent.com/u/944497?v=3","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"open_issues":58,"closed_issues":169,"state":"open","created_at":"2015-01-07T00:13:47Z","updated_at":"2015-04-01T16:39:29Z","due_on":"2015-03-31T07:00:00Z","closed_at":null},"comments":5,"created_at":"2015-03-31T10:26:33Z","updated_at":"2015-04-03T12:30:57Z","closed_at":null,"body":"version : \"3.0.0-rc4\"\r\n\r\nWhen I set the lineStyle smaller then 1 and then do a drawRect the outline isn't aligned properly to the shape fill:\r\n![screen shot 2015-03-31 at 12 25 56 pm](https://cloud.githubusercontent.com/assets/453055/6917011/1b72840c-d7a1-11e4-9e59-310403e90689.png)\r\n```\r\nvar thing = new PIXI.Graphics();\r\nthing.lineStyle(.1, 0x000000);\r\nthing.beginFill(0xffffff);\r\nthing.drawRect(0,0,20,20);\r\nstage.addChild(thing);\r\n```\r\n\r\nhere's a fiddle showing the issue:\r\nhttp://jsfiddle.net/332gdcna/8/\r\n\r\nI've played around with that fiddle myself:\r\nand separated the lineStyle and beginFill to different Graphics objects.\r\nIt looks like the fill part should be drawn at 0.5, 0.5 then the fill and outline parts do align properly.\r\nhttp://jsfiddle.net/332gdcna/9/\r\n"},"comment":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/comments/89274005","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/1620#issuecomment-89274005","issue_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1620","id":89274005,"user":{"login":"gaelduplessix","id":2292908,"avatar_url":"https://avatars.githubusercontent.com/u/2292908?v=3","gravatar_id":"","url":"https://api.github.com/users/gaelduplessix","html_url":"https://github.com/gaelduplessix","followers_url":"https://api.github.com/users/gaelduplessix/followers","following_url":"https://api.github.com/users/gaelduplessix/following{/other_user}","gists_url":"https://api.github.com/users/gaelduplessix/gists{/gist_id}","starred_url":"https://api.github.com/users/gaelduplessix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaelduplessix/subscriptions","organizations_url":"https://api.github.com/users/gaelduplessix/orgs","repos_url":"https://api.github.com/users/gaelduplessix/repos","events_url":"https://api.github.com/users/gaelduplessix/events{/privacy}","received_events_url":"https://api.github.com/users/gaelduplessix/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T12:30:57Z","updated_at":"2015-04-03T12:30:57Z","body":"I think this issue is related to #711"}}