{"action":"closed","issue":{"url":"https://api.github.com/repos/alibaba/GCanvas/issues/61","repository_url":"https://api.github.com/repos/alibaba/GCanvas","labels_url":"https://api.github.com/repos/alibaba/GCanvas/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/GCanvas/issues/61/comments","events_url":"https://api.github.com/repos/alibaba/GCanvas/issues/61/events","html_url":"https://github.com/alibaba/GCanvas/issues/61","id":356593625,"node_id":"MDU6SXNzdWUzNTY1OTM2MjU=","number":61,"title":"Linear gradient does not respect alpha","user":{"login":"DVSoftware","id":429515,"node_id":"MDQ6VXNlcjQyOTUxNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/429515?v=4","gravatar_id":"","url":"https://api.github.com/users/DVSoftware","html_url":"https://github.com/DVSoftware","followers_url":"https://api.github.com/users/DVSoftware/followers","following_url":"https://api.github.com/users/DVSoftware/following{/other_user}","gists_url":"https://api.github.com/users/DVSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/DVSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DVSoftware/subscriptions","organizations_url":"https://api.github.com/users/DVSoftware/orgs","repos_url":"https://api.github.com/users/DVSoftware/repos","events_url":"https://api.github.com/users/DVSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/DVSoftware/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-03T20:21:50Z","updated_at":"2018-11-23T02:16:13Z","closed_at":"2018-11-23T02:16:13Z","author_association":"NONE","body":"Consider this code:\r\n\r\n```javascript\r\nconst color = ctx.createLinearGradient(0, 0, 0, 100);\r\ncolor.addColorStop(0, 'rgba(255,255,255,0)');\r\ncolor.addColorStop(0.5, 'rgba(255,255,255,0.8)');\r\ncolor.addColorStop(1, 'rgba(255,255,255,0)');\r\n```\r\n\r\nWhen using this color as a stroke, the alpha channel is not respected, the line is white."}}
{"actor":{"display_login":"jwxbond"}}