ui · thing ·
yuiDisplayCommand
A yui display command record carrying sequence, ownerId, kind, layerId, targetId, and related state.
Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.
external thing yuiDisplayCommandStatus: source-declared
Fields and methods (24)
int sequence- Stores sequence as int.
text ownerId- Stores owner id as text.
text kind- Stores kind as text.
text layerId- Stores layer id as text.
text targetId- Stores target id as text.
text resourceId- Stores resource id as text.
int resourceGeneration- Stores resource generation as int.
text paintId- Stores paint id as text.
text clipId- Stores clip id as text.
text transformId- Stores transform id as text.
yuiRenderBounds bounds- Stores bounds as yuiRenderBounds.
text semanticRole- Stores semantic role as text.
text content- Stores content as text.
yuiRenderImagePresentation imagePresentation- Stores image presentation as yuiRenderImagePresentation.
int glyphSubmissionSequence- Stores glyph submission sequence as int.
int glyphProviderRunIndex- Stores glyph provider run index as int.
int glyphOriginXQ26_6- Stores glyph origin xq26 6 as int.
int glyphOriginYQ26_6- Stores glyph origin yq26 6 as int.
bool glyphEmpty- Stores glyph empty as bool.
yuiDisplayCommand(int sequence, text ownerId, text kind, text layerId, text targetId, text resourceId, text paintId, text clipId, text transformId, yuiRenderBounds bounds, text semanticRole, text content)- Yui display command.
BatchKey() returns text- Batch key. Complete example
ResolvedResourceIdentity() returns text- Resolved resource identity. Complete example
Describe() returns text- Describe. Complete example
StableEquivalent(yuiDisplayCommand original other) returns bool- Stable equivalent. Complete example
Use yuiDisplayCommand
A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.
cpu · source-example · type checked
using ui
// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.
yuiDisplayCommand sample = yuiDisplayCommand(1, "owner Id", "kind", "layer Id", "target Id", "resource Id", "paint Id", "clip Id", "transform Id", yuiRenderBounds(1, 1, 1, 1), "semantic Role", "content")
Console.Log(Text.From(sample.sequence))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuidisplaycommand"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiDisplayCommand.BatchKey
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using ui
// Batch key.
yuiDisplayCommand instance = yuiDisplayCommand(1, "owner Id", "kind", "layer Id", "target Id", "resource Id", "paint Id", "clip Id", "transform Id", yuiRenderBounds(1, 1, 1, 1), "semantic Role", "content")
text result = instance.BatchKey()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuidisplaycommand"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiDisplayCommand.ResolvedResourceIdentity
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using ui
// Resolved resource identity.
yuiDisplayCommand instance = yuiDisplayCommand(1, "owner Id", "kind", "layer Id", "target Id", "resource Id", "paint Id", "clip Id", "transform Id", yuiRenderBounds(1, 1, 1, 1), "semantic Role", "content")
text result = instance.ResolvedResourceIdentity()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuidisplaycommand"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiDisplayCommand.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 ui
// Describe.
yuiDisplayCommand instance = yuiDisplayCommand(1, "owner Id", "kind", "layer Id", "target Id", "resource Id", "paint Id", "clip Id", "transform Id", yuiRenderBounds(1, 1, 1, 1), "semantic Role", "content")
text result = instance.Describe()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuidisplaycommand"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiDisplayCommand.StableEquivalent
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using ui
// Stable equivalent.
yuiDisplayCommand instance = yuiDisplayCommand(1, "owner Id", "kind", "layer Id", "target Id", "resource Id", "paint Id", "clip Id", "transform Id", yuiRenderBounds(1, 1, 1, 1), "semantic Role", "content")
yuiDisplayCommand argument_other = yuiDisplayCommand(1, "owner Id", "kind", "layer Id", "target Id", "resource Id", "paint Id", "clip Id", "transform Id", yuiRenderBounds(1, 1, 1, 1), "semantic Role", "content")
bool result = instance.StableEquivalent(argument_other)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuidisplaycommand"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
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/ui/render-10-display-list.yh:31