{"json_modified": "2016-10-10T23:04:07.793723", "uuid": "cca08ed8-555f-41ac-a1cb-1217e211f35d", "title": "CanvasRenderingContext2D.measureText()", "url": "/en-US/docs/Web/API/CanvasRenderingContext2D/measureText", "tags": ["Canvas", "API", "Reference", "R\u00e9f\u00e9rence", "CanvasRenderingContext2D", "Method"], "translations": [{"uuid": "8f8216f4-670d-4d5c-9917-30f8739f87e4", "title": "CanvasRenderingContext2D.measureText()", "url": "/ja/docs/Web/API/CanvasRenderingContext2D/measureText", "tags": ["Canvas", "API", "Reference", "R\u00e9f\u00e9rence", "CanvasRenderingContext2D", "Method"], "summary": "CanvasRenderingContext2D.measureText()
\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6e2c\u5b9a\u3057\u305f\u30c6\u30ad\u30b9\u30c8\u306e\u60c5\u5831 (\u4f8b\u3048\u3070\u5e45\u306a\u3069) \u3092\u6301\u3064 TextMetrics
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-08-30T07:22:40", "review_tags": []}, {"uuid": "8f96b6d6-894a-463b-a0d2-3902025c5a67", "title": "CanvasRenderingContext2D.measureText()", "url": "/zh-CN/docs/Web/API/CanvasRenderingContext2D/measureText", "tags": [], "summary": "CanvasRenderingContext2D
.measureText()
\u00a0\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2a TextMetrics
\u5bf9\u8c61\uff0c\u5305\u542b\u5173\u4e8e\u6587\u672c\u5c3a\u5bf8\u7684\u4fe1\u606f\uff08\u4f8b\u5982\u6587\u672c\u7684\u5bbd\u5ea6\uff09\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-06-08T01:10:41", "review_tags": []}], "modified": "2016-10-10T23:04:07", "label": "CanvasRenderingContext2D.measureText()", "localization_tags": [], "locale": "en-US", "id": 129715, "last_edit": "2014-11-06T07:07:16", "summary": "The CanvasRenderingContext2D
.measureText()
method returns a TextMetrics
object that contains information about the measured text (such as its width for example).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Examples", "title": "Examples"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_Also", "title": "See also"}], "slug": "Web/API/CanvasRenderingContext2D/measureText", "review_tags": []}