eclipsesource / tabris-js

Create native mobile apps in JavaScript or TypeScript.
https://tabrisjs.com
BSD 3-Clause "New" or "Revised" License
1.4k stars 170 forks source link

[Canvas] Implement createLinearGradient() #133

Open tbuschto opened 9 years ago

tbuschto commented 9 years ago

Currently a canvas can also fill with solid colors, not gradients. It would also be nice for advanced effects to support a blur method, but HTML5 doesn't support this.

ralfstx commented 7 years ago

Quoting #779:

See example: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/createLinearGradient ... According to @mpost , the native clients support the functionality and it just needs to be added to the js client.