graphics.text · thing ·
graphicsGlyphClusterV2
A graphics glyph cluster v2 record carrying index, sourceStart, sourceEnd, glyphStart, glyphEnd, and related state.
Shape, measure, and represent text and glyph resources.
external thing graphicsGlyphClusterV2Status: source-declared
Fields and methods (13)
int index- Stores index as int.
int sourceStart- Stores source start as int.
int sourceEnd- Stores source end as int.
int glyphStart- Stores glyph start as int.
int glyphEnd- Stores glyph end as int.
text script- Stores script as text.
int bidiLevel- Stores bidi level as int.
bool breakOpportunity- Stores break opportunity as bool.
bool whitespace- Stores whitespace as bool.
bool missing- Stores missing as bool.
graphicsGlyphClusterV2(int index, int sourceStart, int sourceEnd, int glyphStart, int glyphEnd, text script, int bidiLevel, bool breakOpportunity, bool whitespace, bool missing)- Graphics glyph cluster v2.
ValidationIssue(text source, int sourceLength) returns text- Validation issue. Complete example
Snapshot() returns text- Snapshot. Complete example
Use graphicsGlyphClusterV2
A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.
cpu · source-example · type checked
using graphics.text
// Shape, measure, and represent text and glyph resources.
graphicsGlyphClusterV2 sample = graphicsGlyphClusterV2(1, 1, 1, 1, 1, "script", 1, true, true, true)
Console.Log(Text.From(sample.index))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphclusterv2"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
graphicsGlyphClusterV2.ValidationIssue
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using graphics.text
// Validation issue.
graphicsGlyphClusterV2 instance = graphicsGlyphClusterV2(1, 1, 1, 1, 1, "script", 1, true, true, true)
text argument_source = "argument source"
int argument_sourceLength = 1
text result = instance.ValidationIssue(argument_source, argument_sourceLength)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphclusterv2"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
graphicsGlyphClusterV2.Snapshot
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using graphics.text
// Snapshot.
graphicsGlyphClusterV2 instance = graphicsGlyphClusterV2(1, 1, 1, 1, 1, "script", 1, true, true, true)
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphclusterv2"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
Notes and source
Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.
yeho/packages/graphics/text/shaping_v2.yh:133