graphics.text · thing ·
graphicsGlyphAlphaResourceV1
A graphics glyph alpha resource v1 record carrying index, id, width, height, strideBytes, and related state.
Shape, measure, and represent text and glyph resources.
external thing graphicsGlyphAlphaResourceV1Status: source-declared
Fields and methods (13)
int index- Stores index as int.
text id- Stores id as text.
int width- Stores width as int.
int height- Stores height as int.
int strideBytes- Stores stride bytes as int.
int sizeBytes- Stores size bytes as int.
text format- Stores format as text.
text payloadHex- Stores payload hex as text.
text source- Stores source as text.
graphicsGlyphAlphaResourceV1(int index, text id, int width, int height, int strideBytes, int sizeBytes, text payloadHex, text source)- Graphics glyph alpha resource v1.
ValidationIssue() returns text- Validation issue. Complete example
Equivalent(graphicsGlyphAlphaResourceV1 other) returns bool- Equivalent. Complete example
Snapshot() returns text- Snapshot. Complete example
Use graphicsGlyphAlphaResourceV1
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.
graphicsGlyphAlphaResourceV1 sample = graphicsGlyphAlphaResourceV1(1, "id", 1, 1, 4, 4, "payload Hex", "example")
Console.Log(Text.From(sample.index))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcev1"
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"
graphicsGlyphAlphaResourceV1.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.
graphicsGlyphAlphaResourceV1 instance = graphicsGlyphAlphaResourceV1(1, "id", 1, 1, 4, 4, "payload Hex", "example")
text result = instance.ValidationIssue()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcev1"
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"
graphicsGlyphAlphaResourceV1.Equivalent
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
// Equivalent.
graphicsGlyphAlphaResourceV1 instance = graphicsGlyphAlphaResourceV1(1, "id", 1, 1, 4, 4, "payload Hex", "example")
graphicsGlyphAlphaResourceV1 argument_other = graphicsGlyphAlphaResourceV1(1, "id", 1, 1, 4, 4, "payload Hex", "example")
bool result = instance.Equivalent(argument_other)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcev1"
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"
graphicsGlyphAlphaResourceV1.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.
graphicsGlyphAlphaResourceV1 instance = graphicsGlyphAlphaResourceV1(1, "id", 1, 1, 4, 4, "payload Hex", "example")
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__graphicsglyphalpharesourcev1"
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:26