graphics.text · function ·
CreateDefaultGraphicsGlyphAlphaCacheV1
Create default graphics glyph alpha cache v1 from the supplied values.
Shape, measure, and represent text and glyph resources.
external CreateDefaultGraphicsGlyphAlphaCacheV1(text source) returns graphicsGlyphAlphaCacheV1Status: source-declared
Parameters
text source- Supply source as text.
Use CreateDefaultGraphicsGlyphAlphaCacheV1
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.
text source = "example"
graphicsGlyphAlphaCacheV1 result = CreateDefaultGraphicsGlyphAlphaCacheV1(source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__createdefaultgraphicsglyphalphacachev1"
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/glyph_alpha_resources_v1.yh:515