{"id":"graphics.text--CreateGraphicsShapedTextV2","name":"CreateGraphicsShapedTextV2","owner":"yeho","package":"graphics.text","kind":"function","signature":"external CreateGraphicsShapedTextV2(text value, text locale, text direction, text provider, graphicsTextMetricsV2 metrics, text source) returns graphicsShapedTextV2","description":"Create graphics shaped text v2 from the supplied values.","context":"Shape, measure, and represent text and glyph resources.","parameters":[{"name":"value","type":"text","description":"Supply value as text."},{"name":"locale","type":"text","description":"Supply locale as text."},{"name":"direction","type":"text","description":"Supply direction as text."},{"name":"provider","type":"text","description":"Supply provider as text."},{"name":"metrics","type":"graphicsTextMetricsV2","description":"Supply metrics as graphicsTextMetricsV2."},{"name":"source","type":"text","description":"Supply source as text."}],"returns":"graphicsShapedTextV2","members":[],"tags":["cpu","function","graphics","graphics.text","source-example","text","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/shaping_v2.yh","line":857,"sha256":"ad66072d9d12e22ed0e346be3498b8a3747585595527e5bbc916f1184c525ac4"},"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 CreateGraphicsShapedTextV2","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 locale = \"locale\"\ntext direction = \"direction\"\ntext provider = \"provider\"\ngraphicsTextMetricsV2 metrics = graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1)\ntext source = \"example\"\ngraphicsShapedTextV2 result = CreateGraphicsShapedTextV2(value, locale, direction, provider, metrics, source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__creategraphicsshapedtextv2\"\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":"6ed54f1dd179c680575cca0ae921a4125752cf9658f36bd6743a8c58bba9e319","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--CreateGraphicsShapedTextV2","json":"https://demonhunterlabs.com/reference/items/graphics.text--CreateGraphicsShapedTextV2.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--CreateGraphicsShapedTextV2.md"}
