{"id":"graphics.text--graphicsShapedRunV2","name":"graphicsShapedRunV2","owner":"yeho","package":"graphics.text","kind":"thing","signature":"external thing graphicsShapedRunV2","description":"A graphics shaped run v2 record carrying index, sourceStart, sourceEnd, clusterStart, clusterEnd, and related state.","context":"Shape, measure, and represent text and glyph resources.","parameters":[],"returns":"void","members":[{"name":"index","kind":"field","type":"int","description":"Stores index as int.","signature":"int index","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"sourceStart","kind":"field","type":"int","description":"Stores source start as int.","signature":"int sourceStart","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"sourceEnd","kind":"field","type":"int","description":"Stores source end as int.","signature":"int sourceEnd","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"clusterStart","kind":"field","type":"int","description":"Stores cluster start as int.","signature":"int clusterStart","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"clusterEnd","kind":"field","type":"int","description":"Stores cluster end as int.","signature":"int clusterEnd","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"glyphStart","kind":"field","type":"int","description":"Stores glyph start as int.","signature":"int glyphStart","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"glyphEnd","kind":"field","type":"int","description":"Stores glyph end as int.","signature":"int glyphEnd","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"fontIndex","kind":"field","type":"int","description":"Stores font index as int.","signature":"int fontIndex","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"script","kind":"field","type":"text","description":"Stores script as text.","signature":"text script","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"language","kind":"field","type":"text","description":"Stores language as text.","signature":"text language","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"direction","kind":"field","type":"text","description":"Stores direction as text.","signature":"text direction","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"bidiLevel","kind":"field","type":"int","description":"Stores bidi level as int.","signature":"int bidiLevel","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"graphicsShapedRunV2","kind":"constructor","parameters":[{"name":"index","type":"int","description":"Index."},{"name":"sourceStart","type":"int","description":"Source start."},{"name":"sourceEnd","type":"int","description":"Source end."},{"name":"clusterStart","type":"int","description":"Cluster start."},{"name":"clusterEnd","type":"int","description":"Cluster end."},{"name":"glyphStart","type":"int","description":"Glyph start."},{"name":"glyphEnd","type":"int","description":"Glyph end."},{"name":"fontIndex","type":"int","description":"Font index."},{"name":"script","type":"text","description":"Script."},{"name":"language","type":"text","description":"Language."},{"name":"direction","type":"text","description":"Direction."},{"name":"bidiLevel","type":"int","description":"Bidi level."}],"returns":"void","signature":"graphicsShapedRunV2(int index, int sourceStart, int sourceEnd, int clusterStart, int clusterEnd, int glyphStart, int glyphEnd, int fontIndex, text script, text language, text direction, int bidiLevel)","description":"Graphics shaped run v2.","tags":["thing","constructor","graphics.text"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[{"name":"source","type":"text","description":"Source."},{"name":"sourceLength","type":"int","description":"Source length."}],"returns":"text","signature":"ValidationIssue(text source, int sourceLength) returns text","description":"Validation issue.","tags":["thing","method","graphics.text"],"exampleId":"method-ValidationIssue-13","updated":"2026-09-09"},{"name":"Snapshot","kind":"method","parameters":[],"returns":"text","signature":"Snapshot() returns text","description":"Snapshot.","tags":["thing","method","graphics.text"],"exampleId":"method-Snapshot-14","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/shaping_v2.yh","line":187,"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 graphicsShapedRunV2","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.\ngraphicsShapedRunV2 sample = graphicsShapedRunV2(1, 1, 1, 1, 1, 1, 1, 1, \"script\", \"language\", \"direction\", 1)\nConsole.Log(Text.From(sample.index))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsshapedrunv2\"\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":"413dd44d6320d7f5bf488a9830136a54f9274ab46b80df4b0cc95ec6e2efe447","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-13","title":"graphicsShapedRunV2.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Validation issue.\ngraphicsShapedRunV2 instance = graphicsShapedRunV2(1, 1, 1, 1, 1, 1, 1, 1, \"script\", \"language\", \"direction\", 1)\ntext argument_source = \"argument source\"\nint argument_sourceLength = 1\ntext result = instance.ValidationIssue(argument_source, argument_sourceLength)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsshapedrunv2\"\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":"9ca057e9ba322760514cabf6fc5db6816885876b97fa38548d448968f7b8a908","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-14","title":"graphicsShapedRunV2.Snapshot","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Snapshot.\ngraphicsShapedRunV2 instance = graphicsShapedRunV2(1, 1, 1, 1, 1, 1, 1, 1, \"script\", \"language\", \"direction\", 1)\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsshapedrunv2\"\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":"fe2672fd7ba56be12789b7c22e9808822b825d58e3424c5f8e555118b0142dee","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["index","sourceStart","sourceEnd","clusterStart","clusterEnd","glyphStart","glyphEnd","fontIndex","script","language","direction","bidiLevel","graphicsShapedRunV2","ValidationIssue","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--graphicsShapedRunV2","json":"https://demonhunterlabs.com/reference/items/graphics.text--graphicsShapedRunV2.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--graphicsShapedRunV2.md"}
