{"id":"graphics.text--graphicsTextMeasureResult","name":"graphicsTextMeasureResult","owner":"yeho","package":"graphics.text","kind":"thing","signature":"external thing graphicsTextMeasureResult","description":"A graphics text measure result record carrying width, height, clipped, diagnostic.","context":"Shape, measure, and represent text and glyph resources.","parameters":[],"returns":"void","members":[{"name":"width","kind":"field","type":"int","description":"Stores width as int.","signature":"int width","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"height","kind":"field","type":"int","description":"Stores height as int.","signature":"int height","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"clipped","kind":"field","type":"bool","description":"Stores clipped as bool.","signature":"bool clipped","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"graphicsTextMeasureResult","kind":"constructor","parameters":[{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."},{"name":"clipped","type":"bool","description":"Clipped."},{"name":"diagnostic","type":"text","description":"Diagnostic."}],"returns":"void","signature":"graphicsTextMeasureResult(int width, int height, bool clipped, text diagnostic)","description":"Graphics text measure result.","tags":["thing","constructor","graphics.text"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","graphics.text"],"exampleId":"method-Describe-5","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.text","method","source-example","text","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/text.yh","line":78,"sha256":"960ad0d330e47b3966c95530907649dd2ad38ddbc16cc2530eaeb252c64f5170"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use graphicsTextMeasureResult","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.text\n\n// Shape, measure, and represent text and glyph resources.\ngraphicsTextMeasureResult sample = graphicsTextMeasureResult(1, 1, true, \"diagnostic\")\nConsole.Log(Text.From(sample.width))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicstextmeasureresult\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"e7d307b8a1b5e2deeae0e8d05b0194f777e536c4e5865a374ffdbe312dc0b3cb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-5","title":"graphicsTextMeasureResult.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Describe.\ngraphicsTextMeasureResult instance = graphicsTextMeasureResult(1, 1, true, \"diagnostic\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicstextmeasureresult\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"ffe43d69a1906fcfd226441a3f8bc924b0c60d280978d134b22b9949c5cdcc96","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["width","height","clipped","diagnostic","graphicsTextMeasureResult","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--graphicsTextMeasureResult","json":"https://demonhunterlabs.com/reference/items/graphics.text--graphicsTextMeasureResult.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--graphicsTextMeasureResult.md"}
