# yuiDisplayCommand

A yui display command record carrying sequence, ownerId, kind, layerId, targetId, and related state.

Last updated: 2026-09-09

Package: ui | Status: source-declared

Tags: cpu, method, source-example, thing, ui, yeho

Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.

```yh
external thing yuiDisplayCommand
```

- 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.
- ResolvedResourceIdentity() returns text: Resolved resource identity.
- Describe() returns text: Describe.
- StableEquivalent(yuiDisplayCommand original other) returns bool: Stable equivalent.

## Use yuiDisplayCommand

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/ui--yuiDisplayCommand/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayCommand.BatchKey

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/ui--yuiDisplayCommand/method-BatchKey-20 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayCommand.ResolvedResourceIdentity

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/ui--yuiDisplayCommand/method-ResolvedResourceIdentity-21 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayCommand.Describe

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/ui--yuiDisplayCommand/method-Describe-22 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## yuiDisplayCommand.StableEquivalent

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
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))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/ui--yuiDisplayCommand/method-StableEquivalent-23 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

Source: yeho/packages/ui/render-10-display-list.yh

AI training permission: https://demonhunterlabs.com/ai-use
