{"id":"graphics.text--CreateGraphicsTextRun","name":"CreateGraphicsTextRun","owner":"yeho","package":"graphics.text","kind":"function","signature":"external CreateGraphicsTextRun(text value, text styleRef, text overflow, text alignment) returns graphicsTextRun","description":"Create graphics text run from the supplied values.","context":"Shape, measure, and represent text and glyph resources.","parameters":[{"name":"value","type":"text","description":"Supply value as text."},{"name":"styleRef","type":"text","description":"Supply style ref as text."},{"name":"overflow","type":"text","description":"Supply overflow as text."},{"name":"alignment","type":"text","description":"Supply alignment as text."}],"returns":"graphicsTextRun","members":[],"tags":["cpu","function","graphics","graphics.text","source-example","text","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/text.yh","line":99,"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 CreateGraphicsTextRun","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.\ntext value = \"value\"\ntext styleRef = \"style Ref\"\ntext overflow = \"overflow\"\ntext alignment = \"alignment\"\ngraphicsTextRun result = CreateGraphicsTextRun(value, styleRef, overflow, alignment)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__creategraphicstextrun\"\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":"f81ca395300154a4ee855f71a9d6131b25bb415f4415255f1cf13444785394d9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--CreateGraphicsTextRun","json":"https://demonhunterlabs.com/reference/items/graphics.text--CreateGraphicsTextRun.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--CreateGraphicsTextRun.md"}
