在HTML 5中需要帮助. [英] Need help in html 5.

查看:100
本文介绍了在HTML 5中需要帮助.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

HTML5 canvas createLinearGradient方法如何工作?

感谢

Hi all

How does HTML5 canvas createLinearGradient method works???

Thanks

推荐答案

来自w3schools:

From w3schools:

The createLinearGradient method creates a gradient object that changes from one color to another. <br />
You can specify how and where these changes will take place, using the coordinate parameters. <br />
The x0 and y0 parameters represents the start coordinates of the gradient. <br />
The x1 and y1 parameters represents the end coordinates of the gradient.



http://www.w3schools.com/html5/canvas_createlineargradient.asp [



http://www.w3schools.com/html5/canvas_createlineargradient.asp[^]

I wonder if looking at Google is so difficult?


这篇关于在HTML 5中需要帮助.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆