mozilla

Compare Revisions

CanvasRenderingContext2D

Change Revisions

Revision 508867:

Revision 508867 by Mahdi on

Revision 517223:

Revision 517223 by rvighne on

Title:
CanvasRenderingContext2D
CanvasRenderingContext2D
Slug:
Web/API/CanvasRenderingContext2D
Web/API/CanvasRenderingContext2D
Tags:
"Canvas", "API", "NeedsContent", "Reference", "NeedsCompatTable", "Référence", "Graphics", "HTML", "DOM", "Games"
"Canvas", "API", "NeedsContent", "Reference", "NeedsCompatTable", "Référence", "Graphics", "HTML", "DOM", "Games"
Content:

Revision 508867
Revision 517223
n876        <code>true</code> draws the arc anticlockwise, otherwise n876        <code>true</code> draws the arc anticlockwise (AKA counte
>in a clockwise direction.>r-clockwise), otherwise in a clockwise direction.
n883      Adds an arc with the given control points and radius, connen883      Adds an arc to the path with the given control points and r
>cted to the previous point by a straight line.>adius, connected to the previous point by a straight line.
884    </p>
885    <p>
886      <img alt="" longdesc="http://www.w3.org/TR/2dcontext2/#buil
 >ding-paths" src="http://www.w3.org/TR/2dcontext2/images/arcTo1.pn
 >g" style="width: 357px; height: 254px; float: right;" title="Imag
 >e Credit: W3C">
n902        &nbsp;n905        The x axis of the coordinate for the first control point.
n908        &nbsp;n911        The y axis of the coordinate for the first control point.
n914        &nbsp;n917        The x axis of the coordinate for the second control point
 >.
n920        &nbsp;n923        The y axis of the coordinate for the second control point
 >.
nn1121    <p>
1122      Creates a gradient along the line given by the coordinates 
 >represented by the parameters.
1123    </p>
n1134        &nbsp;n1140        The x axis of the coordinate of the start point.
n1140        &nbsp;n1146        The y axis of the coordinate of the start point.
n1146        &nbsp;n1152        The x axis of the coordinate of the end point.
n1152        &nbsp;n1158        The y axis of the coordinate of the end point.
t1403      <img alt="drawImage.png" class="internal default" src="/@apt1409      <img alt="" class="internal default" longdesc="http://www.w
>i/deki/files/5494/=drawImage.png">>3.org/TR/2dcontext/#drawing-images-to-the-canvas" src="http://www
 >.w3.org/TR/2dcontext/images/drawImage.png" title="Image Credit: W
 >3C">

Back to History