{"json_modified": "2016-10-23T06:22:52.032005", "uuid": "97b45aec-f9c9-4ac4-a1f7-bf7d8df4a2de", "title": "CanvasRenderingContext2D.lineTo()", "url": "/en-US/docs/Web/API/CanvasRenderingContext2D/lineTo", "tags": ["Canvas", "API", "Reference", "R\u00e9f\u00e9rence", "CanvasRenderingContext2D", "Method"], "translations": [{"uuid": "5c08ab79-231a-4ac0-88c7-52847c067412", "title": "CanvasRenderingContext2D.lineTo()", "url": "/fr/docs/Web/API/CanvasRenderingContext2D/lineTo", "tags": ["Canvas", "API", "M\u00e9thode", "CanvasRenderingContext2D", "R\u00e9f\u00e9rence"], "summary": "La m\u00e9thode\u00a0CanvasRenderingContext2D
.lineTo()
de l'API 2D des Canvas\u00a0connecte le point aux coordonn\u00e9es actuelles du crayon \u00e0 celles re\u00e7ues en argument en\u00a0une ligne droite.", "localization_tags": [], "locale": "fr", "last_edit": "2016-10-23T06:22:45", "review_tags": ["editorial"]}, {"uuid": "e316c592-a81e-4345-a924-56870ebcb566", "title": "CanvasRenderingContext2D.lineTo()", "url": "/ja/docs/Web/API/CanvasRenderingContext2D/lineTo", "tags": [], "summary": "Canvas 2D API\u00a0\u306e\u00a0CanvasRenderingContext2D
.lineTo()
\u00a0\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u76f4\u7dda\u3067\u30b5\u30d6\u30d1\u30b9\u306e\u7d42\u70b9\u3092\u00a0x
\u3068 y
\u306e\u5ea7\u6a19\u3078\u63a5\u7d9a\u3057\u307e\u3059\uff08\u3053\u306e\u7dda\u306f\u5b9f\u969b\u306b\u306f\u63cf\u753b\u3055\u308c\u307e\u305b\u3093\uff09\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-09-18T19:50:27", "review_tags": []}, {"uuid": "15ea615c-d958-4913-a732-6e3df15688ff", "title": "CanvasRenderingContext2D.lineTo()", "url": "/zh-CN/docs/Web/API/CanvasRenderingContext2D/lineTo", "tags": [], "summary": "CanvasRenderingContext2D
.lineTo()
\u662f Canvas 2D API \u4f7f\u7528\u76f4\u7ebf\u8fde\u63a5\u5b50\u8def\u5f84\u7684\u7ec8\u70b9\u5230x\uff0cy\u5750\u6807\u7684\u65b9\u6cd5\uff08\u5e76\u4e0d\u4f1a\u771f\u6b63\u5730\u7ed8\u5236\uff09\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-06-08T01:10:11", "review_tags": []}], "modified": "2016-05-02T19:40:51", "label": "CanvasRenderingContext2D.lineTo()", "localization_tags": [], "locale": "en-US", "id": 128653, "last_edit": "2016-05-02T19:40:46", "summary": "The CanvasRenderingContext2D
.lineTo()
method of the Canvas 2D API connects the last point in the sub-path to the x, y
coordinates with a straight line (but does not actually draw it).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_lineTo_method", "title": "Using the "}, {"id": "HTML", "title": "HTML"}, {"id": "JavaScript", "title": "JavaScript"}, {"id": "Playable_code", "title": "Playable code"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/CanvasRenderingContext2D/lineTo", "review_tags": []}