graphics.text · thing ·

graphicsGlyphCluster

A graphics glyph cluster record carrying value, sourceStart, sourceEnd, glyphId, advance, and related state.

cpugraphicsgraphics.textmethodsource-exampletextthingyeho

Shape, measure, and represent text and glyph resources.

external thing graphicsGlyphCluster

Status: source-declared

Fields and methods (15)
text value
Stores value as text.
int sourceStart
Stores source start as int.
int sourceEnd
Stores source end as int.
text glyphId
Stores glyph id as text.
int advance
Stores advance as int.
int offsetX
Stores offset x as int.
int offsetY
Stores offset y as int.
text fontFamily
Stores font family as text.
text script
Stores script as text.
int bidiLevel
Stores bidi level as int.
bool breakOpportunity
Stores break opportunity as bool.
bool missing
Stores missing as bool.
graphicsGlyphCluster(text value, int sourceStart, int sourceEnd, text glyphId, int advance, text fontFamily, text script, int bidiLevel, bool breakOpportunity, bool missing)
Graphics glyph cluster.
ValidationIssue(text source) returns text
Validation issue. Complete example
Describe() returns text
Describe. Complete example

Use graphicsGlyphCluster

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.
graphicsGlyphCluster sample = graphicsGlyphCluster("value", 1, 1, "glyph Id", 1, "font Family", "script", 1, true, true)
Console.Log(Text.From(sample.value))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphcluster"
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"

graphicsGlyphCluster.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.
graphicsGlyphCluster instance = graphicsGlyphCluster("value", 1, 1, "glyph Id", 1, "font Family", "script", 1, true, true)
text argument_source = "argument source"
text result = instance.ValidationIssue(argument_source)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphcluster"
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"

graphicsGlyphCluster.Describe

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

// Describe.
graphicsGlyphCluster instance = graphicsGlyphCluster("value", 1, 1, "glyph Id", 1, "font Family", "script", 1, true, true)
text result = instance.Describe()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphcluster"
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.yh:148