Please enable JavaScript.
Coggle requires JavaScript to display documents.
CANVAS (Dessin de dégradés (Images (Recadrage, Mise à l'échelle, Les…
CANVAS
-
-
-
Les principes de dessin
-
strokeRect(x, y, width, height)
fillRect(x, y, width, height)
clearRect(x, y, width, height)
-
-
Courbes quadriques
2 .context.quadraticCurveTo(controlX, controlY,
endX, endY);
1 .context.moveTo(startX, startY);
Courbes de Bezier
1 .context.moveTo(startX, startY);
2 .context.bezierCurveTo(controlX1, controlY1,controlX2, controlY2,endX, endY);