简体   繁体   中英

Triangle Primitives Canvas

Is there a possibility to draw on the canvas of HTML page the gradient primitives?

An example of what I want (I did it in another programming language):

(excuse me for my English, if I do not write correctly)

Yes. This tutorial is exactly as you want to do: http://www.nixtu.info/2010/08/html5-canvas-gradients-triangle.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM