graphics.text · thing ·
graphicsShapedTextV2
A graphics shaped text v2 record carrying schema, value, locale, direction, provider, and related state.
Shape, measure, and represent text and glyph resources.
external thing graphicsShapedTextV2Status: source-declared
Fields and methods (30)
text schema- Stores schema as text.
text value- Stores value as text.
text locale- Stores locale as text.
text direction- Stores direction as text.
text provider- Stores provider as text.
text source- Stores source as text.
list of graphicsResolvedFontV2 fonts- Stores fonts as list of graphicsResolvedFontV2.
list of graphicsShapedRunV2 runs- Stores runs as list of graphicsShapedRunV2.
list of graphicsGlyphClusterV2 clusters- Stores clusters as list of graphicsGlyphClusterV2.
list of graphicsShapedGlyphV2 glyphs- Stores glyphs as list of graphicsShapedGlyphV2.
graphicsTextMetricsV2 metrics- Stores metrics as graphicsTextMetricsV2.
text diagnostic- Stores diagnostic as text.
graphicsShapedTextV2(text value, text locale, text direction, text provider, graphicsTextMetricsV2 metrics, text source)- Graphics shaped text v2.
Reject(text issue) returns bool- Reject. Complete example
AddFont(graphicsResolvedFontV2 font) returns bool- Add font. Complete example
AddGlyph(graphicsShapedGlyphV2 glyph) returns bool- Add glyph. Complete example
AddCluster(graphicsGlyphClusterV2 cluster) returns bool- Add cluster. Complete example
AddRun(graphicsShapedRunV2 run) returns bool- Add run. Complete example
StoredEntryIssue() returns text- Stored entry issue. Complete example
ClusterCoverageIssue() returns text- Cluster coverage issue. Complete example
RunCoverageIssue() returns text- Run coverage issue. Complete example
AdvanceIssue() returns text- Advance issue. Complete example
ValidationIssue() returns text- Validation issue. Complete example
Finalize() returns bool- Finalize. Complete example
MissingGlyphCount() returns int- Missing glyph count. Complete example
MissingClusterCount() returns int- Missing cluster count. Complete example
HasScript(text script) returns bool- Has script. Complete example
UsesFallbackFrom(text requestedFamily) returns bool- Uses fallback from. Complete example
MissingGlyphDiagnostic() returns text- Missing glyph diagnostic. Complete example
Snapshot() returns text- Snapshot. Complete example
Use graphicsShapedTextV2
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.
graphicsShapedTextV2 sample = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
Console.Log(Text.From(sample.schema))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.Reject
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
// Reject.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
text argument_issue = "argument issue"
bool result = instance.Reject(argument_issue)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.AddFont
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
// Add font.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
graphicsResolvedFontV2 argument_font = graphicsResolvedFontV2(1, "id", "cpu", "resource Id", 1, 1, "style", "example")
bool result = instance.AddFont(argument_font)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.AddGlyph
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
// Add glyph.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
graphicsShapedGlyphV2 argument_glyph = graphicsShapedGlyphV2(1, 1, 1, 1, 1, 1, true)
bool result = instance.AddGlyph(argument_glyph)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.AddCluster
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
// Add cluster.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
graphicsGlyphClusterV2 argument_cluster = graphicsGlyphClusterV2(1, 1, 1, 1, 1, "script", 1, true, true, true)
bool result = instance.AddCluster(argument_cluster)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.AddRun
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
// Add run.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
graphicsShapedRunV2 argument_run = graphicsShapedRunV2(1, 1, 1, 1, 1, 1, 1, 1, "script", "language", "direction", 1)
bool result = instance.AddRun(argument_run)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.StoredEntryIssue
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
// Stored entry issue.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
text result = instance.StoredEntryIssue()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.ClusterCoverageIssue
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
// Cluster coverage issue.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
text result = instance.ClusterCoverageIssue()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.RunCoverageIssue
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
// Run coverage issue.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
text result = instance.RunCoverageIssue()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.AdvanceIssue
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
// Advance issue.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
text result = instance.AdvanceIssue()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.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.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
text result = instance.ValidationIssue()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.Finalize
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
// Finalize.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
bool result = instance.Finalize()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.MissingGlyphCount
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
// Missing glyph count.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
int result = instance.MissingGlyphCount()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.MissingClusterCount
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
// Missing cluster count.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
int result = instance.MissingClusterCount()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.HasScript
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
// Has script.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
text argument_script = "argument script"
bool result = instance.HasScript(argument_script)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.UsesFallbackFrom
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
// Uses fallback from.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
text argument_requestedFamily = "argument requested Family"
bool result = instance.UsesFallbackFrom(argument_requestedFamily)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.MissingGlyphDiagnostic
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
// Missing glyph diagnostic.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
text result = instance.MissingGlyphDiagnostic()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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"
graphicsShapedTextV2.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.
graphicsShapedTextV2 instance = graphicsShapedTextV2("value", "locale", "direction", "provider", graphicsTextMetricsV2(1, 1, 1, 1, 1, 1, 1, 1, 1), "example")
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsshapedtextv2"
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:387