{"id":"graphics.text--graphicsGlyphClusterV2","name":"graphicsGlyphClusterV2","owner":"yeho","package":"graphics.text","kind":"thing","signature":"external thing graphicsGlyphClusterV2","description":"A graphics glyph cluster v2 record carrying index, sourceStart, sourceEnd, glyphStart, glyphEnd, 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":"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":"script","kind":"field","type":"text","description":"Stores script as text.","signature":"text script","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":"breakOpportunity","kind":"field","type":"bool","description":"Stores break opportunity as bool.","signature":"bool breakOpportunity","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"whitespace","kind":"field","type":"bool","description":"Stores whitespace as bool.","signature":"bool whitespace","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"missing","kind":"field","type":"bool","description":"Stores missing as bool.","signature":"bool missing","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"graphicsGlyphClusterV2","kind":"constructor","parameters":[{"name":"index","type":"int","description":"Index."},{"name":"sourceStart","type":"int","description":"Source start."},{"name":"sourceEnd","type":"int","description":"Source end."},{"name":"glyphStart","type":"int","description":"Glyph start."},{"name":"glyphEnd","type":"int","description":"Glyph end."},{"name":"script","type":"text","description":"Script."},{"name":"bidiLevel","type":"int","description":"Bidi level."},{"name":"breakOpportunity","type":"bool","description":"Break opportunity."},{"name":"whitespace","type":"bool","description":"Whitespace."},{"name":"missing","type":"bool","description":"Missing."}],"returns":"void","signature":"graphicsGlyphClusterV2(int index, int sourceStart, int sourceEnd, int glyphStart, int glyphEnd, text script, int bidiLevel, bool breakOpportunity, bool whitespace, bool missing)","description":"Graphics glyph cluster 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-11","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-12","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":133,"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 graphicsGlyphClusterV2","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.\ngraphicsGlyphClusterV2 sample = graphicsGlyphClusterV2(1, 1, 1, 1, 1, \"script\", 1, true, true, true)\nConsole.Log(Text.From(sample.index))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsglyphclusterv2\"\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":"757c9f9c84350b6883a7fb2e4ecc527615d2e179b31c7621538559ad50d5ae10","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-11","title":"graphicsGlyphClusterV2.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.\ngraphicsGlyphClusterV2 instance = graphicsGlyphClusterV2(1, 1, 1, 1, 1, \"script\", 1, true, true, true)\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__graphicsglyphclusterv2\"\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":"5b1ffc74ae00b02384323ab5dc6cc3b591581e8c1beb7af7c0bdc17611109422","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-12","title":"graphicsGlyphClusterV2.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.\ngraphicsGlyphClusterV2 instance = graphicsGlyphClusterV2(1, 1, 1, 1, 1, \"script\", 1, true, true, true)\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsglyphclusterv2\"\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":"d65792d537a82b34c17838920320b7e7c73267fb675cb796aceb272a629d4d62","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["index","sourceStart","sourceEnd","glyphStart","glyphEnd","script","bidiLevel","breakOpportunity","whitespace","missing","graphicsGlyphClusterV2","ValidationIssue","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--graphicsGlyphClusterV2","json":"https://demonhunterlabs.com/reference/items/graphics.text--graphicsGlyphClusterV2.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--graphicsGlyphClusterV2.md"}
