在线手册

  • dom obj canvas

    ... actually draw the graphics. The getContext() method returns an object that provides methods and properties for drawing on the canvas. This reference will cover the properties and methods of the getContext("2d") object, which can be used to draw ...

  • ref canvas

    ... actually draw the graphics. The getContext() method returns an object that provides methods and properties for drawing on the canvas. This reference will cover the properties and methods of the getContext("2d") object, which can be used to draw ...

  • dom obj canvas

    ... () 保存当前环境的状态。 restore() 返回之前保存过的路径状态和属性。 createEvent()   getContext()   toDataURL()   标准属性和事件 Canvas 对象同样支持标准 属性 和 事件。 相关文章 HTML 教程:HTML < ...

  • ref canvas

    ... 本、线条、矩形、圆形等等。 浏览器支持 Internet Explorer 9、Firefox、Opera、Chrome 和 Safari 支持 <canvas> 标签的属性及方法。 注意:Internet Explorer 8 及更早的IE版本不支持 <canvas> 元素。 颜色、样式和阴影 属性 描述 fillStyle 设置或返回用于填充绘画的颜色、 ...

  • met canvas createlineargradient

    ... 20,20,150,100); 尝试一下 » 浏览器支持 Internet Explorer 9、Firefox、Opera、Chrome 和 Safari 支持 createLinearGradient() 方法。 注意:Internet Explorer 8 及之前的版本不支持 <canvas> 元素。 定义和用法 createLinearGradient() 方法创建线性的渐变对象。 渐变可用于填充矩形、圆形、线条、文本等等。 提示:请使用该 ...

  • prop canvas fillstyle

    ... 尝试一下 » 浏览器支持 Internet Explorer 9、Firefox、Opera、Chrome 和 Safari 支持 fillStyle 属性。 注意:Internet Explorer 8 及之前的版本不支持 <canvas> 元素。 定义和用法 fillStyle 属性设置或返回用于填充绘画的颜色、渐变或模式。 默认值: #000000 JavaScript 语法: context ...

  • tag canvas

    ... ctx.fillStyle = "#FF0000"; ctx.fillRect(0, 0, 80, 80); </script> Try it yourself » Definition and Usage The <canvas> tag is used to draw graphics, on the fly, via scripting (usually JavaScript). The < ...

  • met canvas addcolorstop

    ... 支持 Internet Explorer 9、Firefox、Opera、Chrome 和 Safari 支持 addColorStop() 方法。 注意:Internet Explorer 8 及之前的版本不支持 <canvas> 元素。 定义和用法 addColorStop() 方法规定渐变对象中的颜色和位置。 addColorStop() 方法与 createLinearGradient() 或 createRadialGradient() 一起 ...

  • met canvas drawimage

    ... drawImage(img,10,10); 尝试一下 » 浏览器支持 Internet Explorer 9、Firefox、Opera、Chrome 和 Safari 支持 drawImage() 方法。 注意:Internet Explorer 8 及之前的版本不支持 <canvas> 元素。 定义和用法 drawImage() 方法在画布上绘制图像、画布或视频。 drawImage() 方法也能够绘制图像的某些部分,以及/或者增加或 ...

  • prop canvas globalcompositeoperation

    ... 180,50,75,50); 尝试一下 » 浏览器支持 Internet Explorer 9、Firefox、Opera、Chrome 和 Safari 支持 globalCompositeOperation 属性。 注意:Internet Explorer 8 及之前的版本不支持 <canvas> 元素。 定义和用法 globalCompositeOperation 属性设置或返回如何将一个源(新的)图像绘制到目标(已有的)的图像上。 源图 ...

推广服务(新)
最新文章