{"id":"ui--yuiImageSource","name":"yuiImageSource","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiImageSource","description":"A yui image source record carrying name, sourceUri, format, colorSpace, intrinsicWidth, and related state.","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":"sourceUri","kind":"field","type":"text","description":"Stores source uri as text.","signature":"text sourceUri","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"format","kind":"field","type":"text","description":"Stores format as text.","signature":"text format","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"colorSpace","kind":"field","type":"text","description":"Stores color space as text.","signature":"text colorSpace","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"intrinsicWidth","kind":"field","type":"int","description":"Stores intrinsic width as int.","signature":"int intrinsicWidth","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"intrinsicHeight","kind":"field","type":"int","description":"Stores intrinsic height as int.","signature":"int intrinsicHeight","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiImageSource","kind":"constructor","parameters":[{"name":"name","type":"text","description":"Name."},{"name":"sourceUri","type":"text","description":"Source uri."},{"name":"format","type":"text","description":"Format."},{"name":"colorSpace","type":"text","description":"Color space."},{"name":"intrinsicWidth","type":"int","description":"Intrinsic width."},{"name":"intrinsicHeight","type":"int","description":"Intrinsic height."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"yuiImageSource(text name, text sourceUri, text format, text colorSpace, int intrinsicWidth, int intrinsicHeight, text source)","description":"Yui image source.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","ui"],"exampleId":"method-ValidationIssue-8","updated":"2026-09-09"},{"name":"CacheIdentity","kind":"method","parameters":[],"returns":"text","signature":"CacheIdentity() returns text","description":"Cache identity.","tags":["thing","method","ui"],"exampleId":"method-CacheIdentity-9","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/media-definitions.yh","line":93,"sha256":"e03625225aa2fa379344a28589cde5e27bcf6e0c346fdad36e2d59ac53f16645"},"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 yuiImageSource","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.\nyuiImageSource sample = yuiImageSource(\"Nova\", \"source Uri\", \"png\", \"color Space\", 1, 1, \"example\")\nConsole.Log(Text.From(sample.name))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiimagesource\"\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":"375fcee90a769dedd7fd1b34cfd6b7f24857b4cc4e29b06ebc34a881f6c71988","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-8","title":"yuiImageSource.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Validation issue.\nyuiImageSource instance = yuiImageSource(\"Nova\", \"source Uri\", \"png\", \"color Space\", 1, 1, \"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiimagesource\"\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":"eec1cade65bd8d75ec20b5d6b4b3320b4cd8b125e768e70006eb22071e19f90c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-CacheIdentity-9","title":"yuiImageSource.CacheIdentity","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Cache identity.\nyuiImageSource instance = yuiImageSource(\"Nova\", \"source Uri\", \"png\", \"color Space\", 1, 1, \"example\")\ntext result = instance.CacheIdentity()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiimagesource\"\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":"981d72b7c8a89d1749ade53f31c9ad1a4f55302aba2e3532b94e756e91cde998","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["name","sourceUri","format","colorSpace","intrinsicWidth","intrinsicHeight","source","yuiImageSource","ValidationIssue","CacheIdentity"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiImageSource","json":"https://demonhunterlabs.com/reference/items/ui--yuiImageSource.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiImageSource.md"}
