{"id":"ui--yuiColor","name":"yuiColor","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiColor","description":"A yui color record carrying red, green, blue, alpha.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"red","kind":"field","type":"int","description":"Stores red as int.","signature":"int red","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"green","kind":"field","type":"int","description":"Stores green as int.","signature":"int green","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"blue","kind":"field","type":"int","description":"Stores blue as int.","signature":"int blue","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"alpha","kind":"field","type":"int","description":"Stores alpha as int.","signature":"int alpha","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiColor","kind":"constructor","parameters":[{"name":"red","type":"int","description":"Red."},{"name":"green","type":"int","description":"Green."},{"name":"blue","type":"int","description":"Blue."},{"name":"alpha","type":"int","description":"Alpha."}],"returns":"void","signature":"yuiColor(int red, int green, int blue, int alpha)","description":"Yui color.","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":386,"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 yuiColor","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.\nyuiColor sample = yuiColor(1, 1, 1, 1)\nConsole.Log(Text.From(sample.red))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicolor\"\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":"63df4db26ec3195e018b4447bc64e17381960e71c1e49bb0a2bfcaceac8f301e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-5","title":"yuiColor.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.\nyuiColor instance = yuiColor(1, 1, 1, 1)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicolor\"\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":"e498382276fe8591f3d30d80ee83e507664489a0c5b36f9fa00d6f556c0a7ebd","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["red","green","blue","alpha","yuiColor","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiColor","json":"https://demonhunterlabs.com/reference/items/ui--yuiColor.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiColor.md"}
