{"id":"graphics.text--graphicsTextMeasureRequest","name":"graphicsTextMeasureRequest","owner":"yeho","package":"graphics.text","kind":"thing","signature":"external thing graphicsTextMeasureRequest","description":"A graphics text measure request record carrying run, fontFamilyToken, fontSizeToken, weight, lineHeightToken, and related state.","context":"Shape, measure, and represent text and glyph resources.","parameters":[],"returns":"void","members":[{"name":"run","kind":"field","type":"graphicsTextRun","description":"Stores run as graphicsTextRun.","signature":"graphicsTextRun run","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"fontFamilyToken","kind":"field","type":"text","description":"Stores font family token as text.","signature":"text fontFamilyToken","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"fontSizeToken","kind":"field","type":"text","description":"Stores font size token as text.","signature":"text fontSizeToken","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"weight","kind":"field","type":"text","description":"Stores weight as text.","signature":"text weight","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"lineHeightToken","kind":"field","type":"text","description":"Stores line height token as text.","signature":"text lineHeightToken","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"maxWidth","kind":"field","type":"int","description":"Stores max width as int.","signature":"int maxWidth","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"graphicsTextMeasureRequest","kind":"constructor","parameters":[{"name":"run","type":"graphicsTextRun","description":"Run."},{"name":"fontFamilyToken","type":"text","description":"Font family token."},{"name":"fontSizeToken","type":"text","description":"Font size token."},{"name":"weight","type":"text","description":"Weight."},{"name":"lineHeightToken","type":"text","description":"Line height token."},{"name":"maxWidth","type":"int","description":"Max width."}],"returns":"void","signature":"graphicsTextMeasureRequest(graphicsTextRun run, text fontFamilyToken, text fontSizeToken, text weight, text lineHeightToken, int maxWidth)","description":"Graphics text measure request.","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-7","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":53,"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 graphicsTextMeasureRequest","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.\ngraphicsTextMeasureRequest sample = graphicsTextMeasureRequest(graphicsTextRun(\"value\", \"style Ref\", \"overflow\", \"alignment\"), \"font Family Token\", \"font Size Token\", \"weight\", \"line Height Token\", 1)\nConsole.Log(Text.From(sample.fontFamilyToken))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicstextmeasurerequest\"\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":"d8118f78e4f6ea00835108bb731e57ba1f96efa62067c13bf0db6df678c7e2e9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-7","title":"graphicsTextMeasureRequest.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.\ngraphicsTextMeasureRequest instance = graphicsTextMeasureRequest(graphicsTextRun(\"value\", \"style Ref\", \"overflow\", \"alignment\"), \"font Family Token\", \"font Size Token\", \"weight\", \"line Height Token\", 1)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicstextmeasurerequest\"\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":"8ac325890d423b2df0888a33a6522cd2c3f42c008e2685f557205820dbb19fbc","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["run","fontFamilyToken","fontSizeToken","weight","lineHeightToken","maxWidth","graphicsTextMeasureRequest","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--graphicsTextMeasureRequest","json":"https://demonhunterlabs.com/reference/items/graphics.text--graphicsTextMeasureRequest.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--graphicsTextMeasureRequest.md"}
