{"id":"ui--yuiLayoutEngine","name":"yuiLayoutEngine","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiLayoutEngine","description":"A yui layout engine record carrying items, measured, arranged, scalePercent, measuredReady, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"items","kind":"field","type":"list of yuiLayoutItem","description":"Stores items as list of yuiLayoutItem.","signature":"list of yuiLayoutItem items","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"measured","kind":"field","type":"list of yuiMeasuredLayout","description":"Stores measured as list of yuiMeasuredLayout.","signature":"list of yuiMeasuredLayout measured","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"arranged","kind":"field","type":"list of yuiArrangedLayout","description":"Stores arranged as list of yuiArrangedLayout.","signature":"list of yuiArrangedLayout arranged","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"scalePercent","kind":"field","type":"int","description":"Stores scale percent as int.","signature":"int scalePercent","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"measuredReady","kind":"field","type":"bool","description":"Stores measured ready as bool.","signature":"bool measuredReady","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"arrangedReady","kind":"field","type":"bool","description":"Stores arranged ready as bool.","signature":"bool arrangedReady","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiLayoutEngine","kind":"constructor","parameters":[],"returns":"void","signature":"yuiLayoutEngine()","description":"Yui layout engine.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"ItemIndex","kind":"method","parameters":[{"name":"id","type":"text","description":"Id."}],"returns":"int","signature":"ItemIndex(text id) returns int","description":"Item index.","tags":["thing","method","ui"],"exampleId":"method-ItemIndex-8","updated":"2026-09-09"},{"name":"AddItem","kind":"method","parameters":[{"name":"item","type":"yuiLayoutItem","description":"Item."}],"returns":"bool","signature":"AddItem(yuiLayoutItem item) returns bool","description":"Add item.","tags":["thing","method","ui"],"exampleId":"method-AddItem-9","updated":"2026-09-09"},{"name":"ChildCount","kind":"method","parameters":[{"name":"parentId","type":"text","description":"Parent id."}],"returns":"int","signature":"ChildCount(text parentId) returns int","description":"Child count.","tags":["thing","method","ui"],"exampleId":"method-ChildCount-10","updated":"2026-09-09"},{"name":"MeasureLeaf","kind":"method","parameters":[{"name":"index","type":"int","description":"Index."}],"returns":"yuiLayoutSize","signature":"MeasureLeaf(int index) returns yuiLayoutSize","description":"Measure leaf.","tags":["thing","method","ui"],"exampleId":"method-MeasureLeaf-11","updated":"2026-09-09"},{"name":"MeasureRow","kind":"method","parameters":[{"name":"index","type":"int","description":"Index."}],"returns":"yuiLayoutSize","signature":"MeasureRow(int index) returns yuiLayoutSize","description":"Measure row.","tags":["thing","method","ui"],"exampleId":"method-MeasureRow-12","updated":"2026-09-09"},{"name":"MeasureColumn","kind":"method","parameters":[{"name":"index","type":"int","description":"Index."}],"returns":"yuiLayoutSize","signature":"MeasureColumn(int index) returns yuiLayoutSize","description":"Measure column.","tags":["thing","method","ui"],"exampleId":"method-MeasureColumn-13","updated":"2026-09-09"},{"name":"MeasureOverlay","kind":"method","parameters":[{"name":"index","type":"int","description":"Index."}],"returns":"yuiLayoutSize","signature":"MeasureOverlay(int index) returns yuiLayoutSize","description":"Measure overlay.","tags":["thing","method","ui"],"exampleId":"method-MeasureOverlay-14","updated":"2026-09-09"},{"name":"MeasureNode","kind":"method","parameters":[{"name":"index","type":"int","description":"Index."}],"returns":"yuiLayoutSize","signature":"MeasureNode(int index) returns yuiLayoutSize","description":"Measure node.","tags":["thing","method","ui"],"exampleId":"method-MeasureNode-15","updated":"2026-09-09"},{"name":"MeasureLayout","kind":"method","parameters":[{"name":"constraints","type":"yuiLayoutConstraints","description":"Constraints."}],"returns":"bool","signature":"MeasureLayout(yuiLayoutConstraints constraints) returns bool","description":"Measure layout.","tags":["thing","method","ui"],"exampleId":"method-MeasureLayout-16","updated":"2026-09-09"},{"name":"InnerRect","kind":"method","parameters":[{"name":"index","type":"int","description":"Index."}],"returns":"yuiLayoutRect","signature":"InnerRect(int index) returns yuiLayoutRect","description":"Inner rect.","tags":["thing","method","ui"],"exampleId":"method-InnerRect-17","updated":"2026-09-09"},{"name":"ChildClip","kind":"method","parameters":[{"name":"index","type":"int","description":"Index."},{"name":"inner","type":"yuiLayoutRect","description":"Inner."}],"returns":"yuiLayoutRect","signature":"ChildClip(int index, yuiLayoutRect inner) returns yuiLayoutRect","description":"Child clip.","tags":["thing","method","ui"],"exampleId":"method-ChildClip-18","updated":"2026-09-09"},{"name":"ArrangeRowChildren","kind":"method","parameters":[{"name":"index","type":"int","description":"Index."}],"returns":"void","signature":"ArrangeRowChildren(int index)","description":"Arrange row children.","tags":["thing","method","ui"],"exampleId":"method-ArrangeRowChildren-19","updated":"2026-09-09"},{"name":"ArrangeColumnChildren","kind":"method","parameters":[{"name":"index","type":"int","description":"Index."}],"returns":"void","signature":"ArrangeColumnChildren(int index)","description":"Arrange column children.","tags":["thing","method","ui"],"exampleId":"method-ArrangeColumnChildren-20","updated":"2026-09-09"},{"name":"ArrangeOverlayChildren","kind":"method","parameters":[{"name":"index","type":"int","description":"Index."}],"returns":"void","signature":"ArrangeOverlayChildren(int index)","description":"Arrange overlay children.","tags":["thing","method","ui"],"exampleId":"method-ArrangeOverlayChildren-21","updated":"2026-09-09"},{"name":"ArrangeLayout","kind":"method","parameters":[{"name":"rootRect","type":"yuiLayoutRect","description":"Root rect."}],"returns":"bool","signature":"ArrangeLayout(yuiLayoutRect rootRect) returns bool","description":"Arrange layout.","tags":["thing","method","ui"],"exampleId":"method-ArrangeLayout-22","updated":"2026-09-09"},{"name":"HitTest","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."},{"name":"x","type":"int","description":"X."},{"name":"y","type":"int","description":"Y."}],"returns":"text","signature":"HitTest(yuiTree tree, int x, int y) returns text","description":"Hit test.","tags":["thing","method","ui"],"exampleId":"method-HitTest-23","updated":"2026-09-09"},{"name":"ValidateAgainstTree","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."}],"returns":"bool","signature":"ValidateAgainstTree(yuiTree tree) returns bool","description":"Validate against tree.","tags":["thing","method","ui"],"exampleId":"method-ValidateAgainstTree-24","updated":"2026-09-09"},{"name":"RenderMeasureReport","kind":"method","parameters":[],"returns":"text","signature":"RenderMeasureReport() returns text","description":"Render measure report.","tags":["thing","method","ui"],"exampleId":"method-RenderMeasureReport-25","updated":"2026-09-09"},{"name":"RenderArrangeReport","kind":"method","parameters":[],"returns":"text","signature":"RenderArrangeReport() returns text","description":"Render arrange report.","tags":["thing","method","ui"],"exampleId":"method-RenderArrangeReport-26","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/layout-engine.yh","line":55,"sha256":"fa4410fcfab9d15702c22d3894a820ae543797bbca7fbf74fe5839162674aee8"},"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 yuiLayoutEngine","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.\nyuiLayoutEngine sample = yuiLayoutEngine()\nConsole.Log(Text.From(sample.scalePercent))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"7148908663d2ea58f2cd42c2aad25ea33558c023671e2e126e84254e05863e63","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ItemIndex-8","title":"yuiLayoutEngine.ItemIndex","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Item index.\nyuiLayoutEngine instance = yuiLayoutEngine()\ntext argument_id = \"argument id\"\nint result = instance.ItemIndex(argument_id)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"a67685aca7912d0c4f94da8a19b1899708e71b4e28bdb5584d8c43f1db188cd2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddItem-9","title":"yuiLayoutEngine.AddItem","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Add item.\nyuiLayoutEngine instance = yuiLayoutEngine()\nyuiLayoutItem argument_item = yuiLayoutItem(\"id\", \"parent Id\", \"kind\", \"example\", 1, 1)\nbool result = instance.AddItem(argument_item)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"91caca24ca12eec87898cbbedc3e87a3b77fbe7b985a98a278e7d536c8faa3c5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ChildCount-10","title":"yuiLayoutEngine.ChildCount","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Child count.\nyuiLayoutEngine instance = yuiLayoutEngine()\ntext argument_parentId = \"argument parent Id\"\nint result = instance.ChildCount(argument_parentId)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"6c4079e2403514e5fd7037cc1d2b5e09fed89f0575981e589a16a20f6278a192","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MeasureLeaf-11","title":"yuiLayoutEngine.MeasureLeaf","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Measure leaf.\nyuiLayoutEngine instance = yuiLayoutEngine()\nint argument_index = 1\nyuiLayoutSize result = instance.MeasureLeaf(argument_index)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"c32da674290219b97fcc7499dc85388be82d2276e6a8956cdef0f306356436f3","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MeasureRow-12","title":"yuiLayoutEngine.MeasureRow","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Measure row.\nyuiLayoutEngine instance = yuiLayoutEngine()\nint argument_index = 1\nyuiLayoutSize result = instance.MeasureRow(argument_index)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"379bfe179c777b0ee9631baef4df42c1ac74c0b38dc873aa97062c3ee14cbc1f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MeasureColumn-13","title":"yuiLayoutEngine.MeasureColumn","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Measure column.\nyuiLayoutEngine instance = yuiLayoutEngine()\nint argument_index = 1\nyuiLayoutSize result = instance.MeasureColumn(argument_index)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"cd00e3cef737d818f7ad52bc2011e8bc106caec0387add44efdd70ac1699caa2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MeasureOverlay-14","title":"yuiLayoutEngine.MeasureOverlay","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Measure overlay.\nyuiLayoutEngine instance = yuiLayoutEngine()\nint argument_index = 1\nyuiLayoutSize result = instance.MeasureOverlay(argument_index)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"edcd2e3879708af15af1d721d91f19a7f88c3513c7502d7617b6b875c5c18f6a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MeasureNode-15","title":"yuiLayoutEngine.MeasureNode","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Measure node.\nyuiLayoutEngine instance = yuiLayoutEngine()\nint argument_index = 1\nyuiLayoutSize result = instance.MeasureNode(argument_index)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"92f3b3e77547d800a0be7cf74eeb51e192dfc04eff76c42b9c834f7ce3809ec9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MeasureLayout-16","title":"yuiLayoutEngine.MeasureLayout","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Measure layout.\nyuiLayoutEngine instance = yuiLayoutEngine()\nyuiLayoutConstraints argument_constraints = yuiLayoutConstraints(1, 1, 1, 1, 1, \"example\")\nbool result = instance.MeasureLayout(argument_constraints)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"63678c842f1dd7d345b47a4ccb3eec89378dcbd17c48ddab78ce724757ef57ce","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-InnerRect-17","title":"yuiLayoutEngine.InnerRect","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Inner rect.\nyuiLayoutEngine instance = yuiLayoutEngine()\nint argument_index = 1\nyuiLayoutRect result = instance.InnerRect(argument_index)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"73da50ceb2c5e883fe59de493919e40d31177a3e6de58f3d08c79693ee0d55da","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ChildClip-18","title":"yuiLayoutEngine.ChildClip","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Child clip.\nyuiLayoutEngine instance = yuiLayoutEngine()\nint argument_index = 1\nyuiLayoutRect argument_inner = yuiLayoutRect(1, 1, 1, 1)\nyuiLayoutRect result = instance.ChildClip(argument_index, argument_inner)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"ad67608a273606f5127c52e3c3dc8595538fb2143bc88e197d30a4a943de00c4","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ArrangeRowChildren-19","title":"yuiLayoutEngine.ArrangeRowChildren","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Arrange row children.\nyuiLayoutEngine instance = yuiLayoutEngine()\nint argument_index = 1\ninstance.ArrangeRowChildren(argument_index)\nConsole.Log(\"ArrangeRowChildren completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"5800976db54230813456c3d24f00ff374959a23a4e64ae49f9f67b10a0f98bbc","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ArrangeColumnChildren-20","title":"yuiLayoutEngine.ArrangeColumnChildren","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Arrange column children.\nyuiLayoutEngine instance = yuiLayoutEngine()\nint argument_index = 1\ninstance.ArrangeColumnChildren(argument_index)\nConsole.Log(\"ArrangeColumnChildren completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"40e42160134116cef093ae618d46783a7f5d9164bcb9a584d4f553f9f413e9fe","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ArrangeOverlayChildren-21","title":"yuiLayoutEngine.ArrangeOverlayChildren","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Arrange overlay children.\nyuiLayoutEngine instance = yuiLayoutEngine()\nint argument_index = 1\ninstance.ArrangeOverlayChildren(argument_index)\nConsole.Log(\"ArrangeOverlayChildren completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"54da145deb3f2487ae4bb4c876f7dfaf9843f6dac1966a06a991995b855112fb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ArrangeLayout-22","title":"yuiLayoutEngine.ArrangeLayout","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Arrange layout.\nyuiLayoutEngine instance = yuiLayoutEngine()\nyuiLayoutRect argument_rootRect = yuiLayoutRect(1, 1, 1, 1)\nbool result = instance.ArrangeLayout(argument_rootRect)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"42b357410ee3839a1a517d9db0addad2e2533ee3eec18d757a5740fd4f82f01d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-HitTest-23","title":"yuiLayoutEngine.HitTest","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Hit test.\nyuiLayoutEngine instance = yuiLayoutEngine()\nyuiTree argument_tree = yuiTree(\"id\")\nint argument_x = 1\nint argument_y = 1\ntext result = instance.HitTest(argument_tree, argument_x, argument_y)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"4ffed6f2814af5e1b7b96ec7d0192a87769162b1f74adaae7b31c6e3c0f7c706","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidateAgainstTree-24","title":"yuiLayoutEngine.ValidateAgainstTree","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Validate against tree.\nyuiLayoutEngine instance = yuiLayoutEngine()\nyuiTree argument_tree = yuiTree(\"id\")\nbool result = instance.ValidateAgainstTree(argument_tree)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"f6316e95cb51d9d1c66030f1f38b4d754629f9bda59c7bca89c8e9e81b55f44e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RenderMeasureReport-25","title":"yuiLayoutEngine.RenderMeasureReport","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Render measure report.\nyuiLayoutEngine instance = yuiLayoutEngine()\ntext result = instance.RenderMeasureReport()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"abb6a4b453f93f57ea6a658f0275ac2704c6a04b332286b39125c10fa8c1c832","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RenderArrangeReport-26","title":"yuiLayoutEngine.RenderArrangeReport","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Render arrange report.\nyuiLayoutEngine instance = yuiLayoutEngine()\ntext result = instance.RenderArrangeReport()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutengine\"\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":"69f89d6fbe3e0ecf626460342140177c7659068d5dd2f5083daebe878ba7d5e9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["items","measured","arranged","scalePercent","measuredReady","arrangedReady","diagnostic","yuiLayoutEngine","ItemIndex","AddItem","ChildCount","MeasureLeaf","MeasureRow","MeasureColumn","MeasureOverlay","MeasureNode","MeasureLayout","InnerRect","ChildClip","ArrangeRowChildren","ArrangeColumnChildren","ArrangeOverlayChildren","ArrangeLayout","HitTest","ValidateAgainstTree","RenderMeasureReport","RenderArrangeReport"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiLayoutEngine","json":"https://demonhunterlabs.com/reference/items/ui--yuiLayoutEngine.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiLayoutEngine.md"}
