{"id":"ui--yuiMaterial","name":"yuiMaterial","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiMaterial","description":"A yui material record carrying name, fill, border, textColor.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"name","kind":"field","type":"text","description":"Stores name as text.","signature":"text name","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"fill","kind":"field","type":"yuiColor","description":"Stores fill as yuiColor.","signature":"yuiColor fill","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"border","kind":"field","type":"yuiColor","description":"Stores border as yuiColor.","signature":"yuiColor border","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"textColor","kind":"field","type":"yuiColor","description":"Stores text color as yuiColor.","signature":"yuiColor textColor","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiMaterial","kind":"constructor","parameters":[{"name":"name","type":"text","description":"Name."},{"name":"fill","type":"yuiColor","description":"Fill."},{"name":"border","type":"yuiColor","description":"Border."},{"name":"textColor","type":"yuiColor","description":"Text color."}],"returns":"void","signature":"yuiMaterial(text name, yuiColor fill, yuiColor border, yuiColor textColor)","description":"Yui material.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-5","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/ui.yh","line":424,"sha256":"2745dad504552ce545dea2a953613be247f8b49f1b6712811e0a370cfa9e8575"},"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 yuiMaterial","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.\nyuiMaterial sample = yuiMaterial(\"Nova\", yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1))\nConsole.Log(Text.From(sample.name))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuimaterial\"\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":"07901b3c33305eefb4de846a9d123066f0974e595acf46345a27cfe774455c2f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-5","title":"yuiMaterial.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Describe.\nyuiMaterial instance = yuiMaterial(\"Nova\", yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1))\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuimaterial\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"b35ddc1789182dae93bf7b6026f31a2089bddd2e19e257c0791bbd7ff27ba93d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["name","fill","border","textColor","yuiMaterial","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiMaterial","json":"https://demonhunterlabs.com/reference/items/ui--yuiMaterial.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiMaterial.md"}
