在线手册

  • canvas transform

    ... ctx.fillStyle="blue"; ctx.fillRect(0,0,250,100); 尝试一下 » 浏览器支持 Internet Explorer 9、Firefox、Opera、Chrome 和 Safari 支持 transform() 方法。 注意:Internet Explorer 8 及之前的版本不支持 <canvas> 元素。 定义和用法 画布上的每个对象都拥有一个当前的变换矩阵。 transform() 方法替换当前的变换矩阵。它以下面描述的矩阵来 ...

  • canvas translate

    ... fillRect(10,10,100,50); 尝试一下 » 浏览器支持 Internet Explorer 9、Firefox、Opera、Chrome 和 Safari 支持 translate() 方法。 注意:Internet Explorer 8 及之前的版本不支持 <canvas> 元素。 定义和用法 translate() 方法重新映射画布上的 (0,0) 位置。 注意:当您在 translate() 之后调用诸如 fillRect() 之类的方法时,值会添 ...

  • canvas addcolorstop

    ... Safari support the addColorStop() method. Note: Internet Explorer 8 and earlier versions, do not support the <canvas> element. Definition and Usage The addColorStop() method specifies the colors and position in a gradient object ...

  • canvas closepath

    ... from the current point back to the starting point. Tip: Use the stroke() method to actually draw the path on the canvas. Tip: Use the fill() method to fill the drawing (black is default). Use the fillStyle property to fill with another color ...

  • canvas filltext

    ... . Note: The maxWidth parameter is not supported in Safari. Definition and Usage The fillText() method draws filled text on the canvas. The default color of the text is black. Tip: Use the font property to specify font and font size, and ...

  • canvas strokestyle

    ... , and Safari support the strokeStyle property. Note: Internet Explorer 8 and earlier versions, do not support the <canvas> element. Definition and Usage The strokeStyle property sets or returns the color, gradient, or pattern used for ...

  • canvas stroketext

    ... The maxWidth parameter is not supported in Safari. Definition and Usage The strokeText() method draws text (with no fill) on the canvas. The default color of the text is black. Tip: Use the font property to specify font and font size, and ...

  • canvas addcolorstop

    ... Safari support the addColorStop() method. Note: Internet Explorer 8 and earlier versions, do not support the <canvas> element. Definition and Usage The addColorStop() method specifies the colors and position in a gradient object ...

  • canvas closepath

    ... from the current point back to the starting point. Tip: Use the stroke() method to actually draw the path on the canvas. Tip: Use the fill() method to fill the drawing (black is default). Use the fillStyle property to fill with another color ...

  • canvas filltext

    ... . Note: The maxWidth parameter is not supported in Safari. Definition and Usage The fillText() method draws filled text on the canvas. The default color of the text is black. Tip: Use the font property to specify font and font size, and ...

推广服务(新)
最新文章