{"id":"ui--yuiLayoutSize","name":"yuiLayoutSize","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiLayoutSize","description":"A yui layout size record carrying width, height.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"width","kind":"field","type":"int","description":"Stores width as int.","signature":"int width","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"height","kind":"field","type":"int","description":"Stores height as int.","signature":"int height","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiLayoutSize","kind":"constructor","parameters":[{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."}],"returns":"void","signature":"yuiLayoutSize(int width, int height)","description":"Yui layout size.","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-3","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/layout-definitions.yh","line":4,"sha256":"530806f770781200ee6832718f8332fc198d13c4d8400a3fc7cf651e5577823b"},"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 yuiLayoutSize","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.\nyuiLayoutSize sample = yuiLayoutSize(1, 1)\nConsole.Log(Text.From(sample.width))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutsize\"\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":"4a3b7879b10e6d53a3cf76c7d3e850c34e0ed08a0e0d025ee59e8547f8efab97","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-3","title":"yuiLayoutSize.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.\nyuiLayoutSize instance = yuiLayoutSize(1, 1)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutsize\"\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":"c2519321d3d3cab3bd9a484b75ecc47163c6e7bb6e410eda97c9825e0505ecd5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["width","height","yuiLayoutSize","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiLayoutSize","json":"https://demonhunterlabs.com/reference/items/ui--yuiLayoutSize.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiLayoutSize.md"}
