{"id":"ui--CreateYuiSampledImageDisplayCommand","name":"CreateYuiSampledImageDisplayCommand","owner":"yeho","package":"ui","kind":"function","signature":"external CreateYuiSampledImageDisplayCommand(int sequence, text ownerId, text layerId, text targetId, text resourceId, int resourceGeneration, text paintId, text clipId, text transformId, yuiRenderBounds bounds, text semanticRole, text content, yuiRenderImagePresentation presentation, text filter, text outputColorSpace, text samplingCacheIdentity) returns yuiDisplayCommand","description":"Create yui sampled image display command from the supplied values.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[{"name":"sequence","type":"int","description":"Supply sequence as int."},{"name":"ownerId","type":"text","description":"Supply owner id as text."},{"name":"layerId","type":"text","description":"Supply layer id as text."},{"name":"targetId","type":"text","description":"Supply target id as text."},{"name":"resourceId","type":"text","description":"Supply resource id as text."},{"name":"resourceGeneration","type":"int","description":"Supply resource generation as int."},{"name":"paintId","type":"text","description":"Supply paint id as text."},{"name":"clipId","type":"text","description":"Supply clip id as text."},{"name":"transformId","type":"text","description":"Supply transform id as text."},{"name":"bounds","type":"yuiRenderBounds","description":"Supply bounds as yuiRenderBounds."},{"name":"semanticRole","type":"text","description":"Supply semantic role as text."},{"name":"content","type":"text","description":"Supply content as text."},{"name":"presentation","type":"yuiRenderImagePresentation","description":"Supply presentation as yuiRenderImagePresentation."},{"name":"filter","type":"text","description":"Supply filter as text."},{"name":"outputColorSpace","type":"text","description":"Supply output color space as text."},{"name":"samplingCacheIdentity","type":"text","description":"Supply sampling cache identity as text."}],"returns":"yuiDisplayCommand","members":[],"tags":["cpu","function","source-example","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/render-10-display-list.yh","line":782,"sha256":"f01876e456f5428ef0de2686c230148c1fa3a330f92ef3e3381b9adbdd19ff9e"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use CreateYuiSampledImageDisplayCommand","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nint sequence = 1\ntext ownerId = \"owner Id\"\ntext layerId = \"layer Id\"\ntext targetId = \"target Id\"\ntext resourceId = \"resource Id\"\nint resourceGeneration = 1\ntext paintId = \"paint Id\"\ntext clipId = \"clip Id\"\ntext transformId = \"transform Id\"\nyuiRenderBounds bounds = yuiRenderBounds(1, 1, 1, 1)\ntext semanticRole = \"semantic Role\"\ntext content = \"content\"\nyuiRenderImagePresentation presentation = yuiRenderImagePresentation(\"fit\", 1, 1, 1, 1, 1, 1, 1, 1)\ntext filter = \"filter\"\ntext outputColorSpace = \"output Color Space\"\ntext samplingCacheIdentity = \"sampling Cache Identity\"\nyuiDisplayCommand result = CreateYuiSampledImageDisplayCommand(sequence, ownerId, layerId, targetId, resourceId, resourceGeneration, paintId, clipId, transformId, bounds, semanticRole, content, presentation, filter, outputColorSpace, samplingCacheIdentity)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__createyuisampledimagedisplaycommand\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"cf310b822baad9bdf92286ea7d47f6f5b5c556caf830b70c735df6b10d5225f1","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=ui--CreateYuiSampledImageDisplayCommand","json":"https://demonhunterlabs.com/reference/items/ui--CreateYuiSampledImageDisplayCommand.json","markdown":"https://demonhunterlabs.com/reference/text/ui--CreateYuiSampledImageDisplayCommand.md"}
