{"id":"ui--CreateYuiIconArtwork","name":"CreateYuiIconArtwork","owner":"yeho","package":"ui","kind":"function","signature":"external CreateYuiIconArtwork(text semanticName, text body, text drawing, bool mirrorInRtl, text defaultTintRole, text source) returns yuiIconArtwork","description":"Create yui icon artwork from the supplied values.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[{"name":"semanticName","type":"text","description":"Supply semantic name as text."},{"name":"body","type":"text","description":"Supply body as text."},{"name":"drawing","type":"text","description":"Supply drawing as text."},{"name":"mirrorInRtl","type":"bool","description":"Supply mirror in rtl as bool."},{"name":"defaultTintRole","type":"text","description":"Supply default tint role as text."},{"name":"source","type":"text","description":"Supply source as text."}],"returns":"yuiIconArtwork","members":[],"tags":["cpu","function","source-example","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/media-icons.yh","line":84,"sha256":"52c0d3d884abd8fb470e1f85be47e81860dfd3b0059365d9f9827dfa4316d8ba"},"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 CreateYuiIconArtwork","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.\ntext semanticName = \"semantic Name\"\ntext body = \"body\"\ntext drawing = \"drawing\"\nbool mirrorInRtl = true\ntext defaultTintRole = \"default Tint Role\"\ntext source = \"example\"\nyuiIconArtwork result = CreateYuiIconArtwork(semanticName, body, drawing, mirrorInRtl, defaultTintRole, source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__createyuiiconartwork\"\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":"d4c1847365f6722d895532422656c7aa80f31b55a00b5c64a4dd0ec77026d6d9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=ui--CreateYuiIconArtwork","json":"https://demonhunterlabs.com/reference/items/ui--CreateYuiIconArtwork.json","markdown":"https://demonhunterlabs.com/reference/text/ui--CreateYuiIconArtwork.md"}
