{"action":"created","issue":{"url":"https://api.github.com/repos/pixijs/pixi.js/issues/5131","repository_url":"https://api.github.com/repos/pixijs/pixi.js","labels_url":"https://api.github.com/repos/pixijs/pixi.js/issues/5131/labels{/name}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/issues/5131/comments","events_url":"https://api.github.com/repos/pixijs/pixi.js/issues/5131/events","html_url":"https://github.com/pixijs/pixi.js/issues/5131","id":363028328,"node_id":"MDU6SXNzdWUzNjMwMjgzMjg=","number":5131,"title":"Draw Gradient color in Graphics","user":{"login":"wrbing728","id":8429360,"node_id":"MDQ6VXNlcjg0MjkzNjA=","avatar_url":"https://avatars1.githubusercontent.com/u/8429360?v=4","gravatar_id":"","url":"https://api.github.com/users/wrbing728","html_url":"https://github.com/wrbing728","followers_url":"https://api.github.com/users/wrbing728/followers","following_url":"https://api.github.com/users/wrbing728/following{/other_user}","gists_url":"https://api.github.com/users/wrbing728/gists{/gist_id}","starred_url":"https://api.github.com/users/wrbing728/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrbing728/subscriptions","organizations_url":"https://api.github.com/users/wrbing728/orgs","repos_url":"https://api.github.com/users/wrbing728/repos","events_url":"https://api.github.com/users/wrbing728/events{/privacy}","received_events_url":"https://api.github.com/users/wrbing728/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-24T06:40:53Z","updated_at":"2018-09-25T03:47:03Z","closed_at":null,"author_association":"NONE","body":"How can I fill graphics with a set of color to implement gradient effect."},"comment":{"url":"https://api.github.com/repos/pixijs/pixi.js/issues/comments/424198220","html_url":"https://github.com/pixijs/pixi.js/issues/5131#issuecomment-424198220","issue_url":"https://api.github.com/repos/pixijs/pixi.js/issues/5131","id":424198220,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDE5ODIyMA==","user":{"login":"bigtimebuddy","id":864393,"node_id":"MDQ6VXNlcjg2NDM5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/864393?v=4","gravatar_id":"","url":"https://api.github.com/users/bigtimebuddy","html_url":"https://github.com/bigtimebuddy","followers_url":"https://api.github.com/users/bigtimebuddy/followers","following_url":"https://api.github.com/users/bigtimebuddy/following{/other_user}","gists_url":"https://api.github.com/users/bigtimebuddy/gists{/gist_id}","starred_url":"https://api.github.com/users/bigtimebuddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigtimebuddy/subscriptions","organizations_url":"https://api.github.com/users/bigtimebuddy/orgs","repos_url":"https://api.github.com/users/bigtimebuddy/repos","events_url":"https://api.github.com/users/bigtimebuddy/events{/privacy}","received_events_url":"https://api.github.com/users/bigtimebuddy/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T03:47:03Z","updated_at":"2018-09-25T03:47:03Z","author_association":"MEMBER","body":"In the upcoming version of PixiJS v5, you'll be able to use a texture as a fills or lines with Graphics. This will make it much easier to support gradients. Example here:\r\n\r\nhttps://jsfiddle.net/bigtimebuddy/Lu52dgmv/\r\n\r\nWe are unlikely to support in v4, so your best option there is to use SVG and render it to a canvas.\r\n\r\nHope that helps."}}
{"actor":{"display_login":"bigtimebuddy"}}