{"json_modified": "2016-06-03T00:18:06.908926", "uuid": "3f319ffd-7f45-44ca-bd9f-65d8b4cbfc05", "title": "CanvasRenderingContext2D.lineWidth", "url": "/en-US/docs/Web/API/CanvasRenderingContext2D/lineWidth", "tags": ["Canvas", "Reference", "API", "Property", "CanvasRenderingContext2D"], "translations": [{"uuid": "3af30dd0-d4a9-4fcb-8d88-b33ae0725043", "title": "CanvasRenderingContext2D.lineWidth", "url": "/ru/docs/Web/API/CanvasRenderingContext2D/lineWidth", "tags": [], "summary": "\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e CanvasRenderingContext2D
.lineWidth
, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0435 Canvas 2D API \u0437\u0430\u0434\u0430\u0435\u0442 \u0442\u043e\u043b\u0449\u0438\u043d\u0443 \u043b\u0438\u043d\u0438\u0439 \u0432 \u043f\u0438\u043a\u0441\u0435\u043b\u0430\u0445. \u041f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u041f\u0440\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c, \u043d\u043e\u043b\u044c, \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430, Infinity
\u0438 NaN
\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u0442\u0441\u044f.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2016-06-03T00:18:03", "review_tags": []}, {"uuid": "63136c90-2a74-42b5-935a-e2ca4bd6e50e", "title": "CanvasRenderingContext2D.lineWidth", "url": "/zh-CN/docs/Web/API/CanvasRenderingContext2D/lineWidth", "tags": [], "summary": "The CanvasRenderingContext2D
.lineWidth
\u00a0\u662f\u00a0Canvas 2D API \u8bbe\u7f6e\u7ebf\u6bb5\u539a\u5ea6\u7684\u5c5e\u6027\uff08\u5373\u7ebf\u6bb5\u7684\u5bbd\u5ea6\uff09\u3002\u5f53\u83b7\u53d6\u5c5e\u6027\u503c\u65f6\uff0c\u5b83\u53ef\u4ee5\u8fd4\u56de\u5f53\u524d\u7684\u503c\uff08\u9ed8\u8ba4\u503c\u662f1.0
\u00a0\uff09\u3002 \u5f53\u7ed9\u5c5e\u6027\u8d4b\u503c\u65f6\uff0c 0\u3001\u00a0\u8d1f\u6570\u3001\u00a0Infinity
\u548c NaN
\u90fd\u4f1a\u88ab\u5ffd\u7565\uff1b\u9664\u6b64\u4e4b\u5916\uff0c\u90fd\u4f1a\u88ab\u8d4b\u4e88\u4e00\u4e2a\u65b0\u503c\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-06-08T00:44:11", "review_tags": []}], "modified": "2016-02-02T03:39:50", "label": "CanvasRenderingContext2D.lineWidth", "localization_tags": [], "locale": "en-US", "id": 128933, "last_edit": "2015-07-24T06:00:58", "summary": "The CanvasRenderingContext2D
.lineWidth
property of the Canvas 2D API sets the thickness of lines in space units. When getting, it returns the current value (1.0
by default). When setting, zero, negative, Infinity
and NaN
values are ignored; otherwise the current value is set to the new value.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Options", "title": "Options"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_lineWidth_property", "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": "WebKitBlink-specific_notes", "title": "WebKit/Blink-specific notes"}, {"id": "Gecko-specific_notes", "title": "Gecko-specific notes"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/CanvasRenderingContext2D/lineWidth", "review_tags": []}