{"id":"ui--yuiLayoutPlacement","name":"yuiLayoutPlacement","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiLayoutPlacement","description":"A yui layout placement record carrying block, mode, x, y, z, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"block","kind":"field","type":"text","description":"Stores block as text.","signature":"text block","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"mode","kind":"field","type":"text","description":"Stores mode as text.","signature":"text mode","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"x","kind":"field","type":"int","description":"Stores x as int.","signature":"int x","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"y","kind":"field","type":"int","description":"Stores y as int.","signature":"int y","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"z","kind":"field","type":"int","description":"Stores z as int.","signature":"int z","tags":["thing","field","ui"],"updated":"2026-09-09"},{"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":"anchor","kind":"field","type":"text","description":"Stores anchor as text.","signature":"text anchor","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"pivot","kind":"field","type":"text","description":"Stores pivot as text.","signature":"text pivot","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"clipped","kind":"field","type":"bool","description":"Stores clipped as bool.","signature":"bool clipped","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"zOrder","kind":"field","type":"int","description":"Stores z order as int.","signature":"int zOrder","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"target","kind":"field","type":"text","description":"Stores target as text.","signature":"text target","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"offscreen","kind":"field","type":"bool","description":"Stores offscreen as bool.","signature":"bool offscreen","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiLayoutPlacement","kind":"constructor","parameters":[{"name":"block","type":"text","description":"Block."},{"name":"mode","type":"text","description":"Mode."},{"name":"x","type":"int","description":"X."},{"name":"y","type":"int","description":"Y."},{"name":"z","type":"int","description":"Z."},{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."},{"name":"anchor","type":"text","description":"Anchor."},{"name":"pivot","type":"text","description":"Pivot."},{"name":"clipped","type":"bool","description":"Clipped."},{"name":"zOrder","type":"int","description":"Z order."},{"name":"target","type":"text","description":"Target."},{"name":"offscreen","type":"bool","description":"Offscreen."}],"returns":"void","signature":"yuiLayoutPlacement(text block, text mode, int x, int y, int z, int width, int height, text anchor, text pivot, bool clipped, int zOrder, text target, bool offscreen)","description":"Yui layout placement.","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-14","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":762,"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 yuiLayoutPlacement","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.\nyuiLayoutPlacement sample = yuiLayoutPlacement(\"block\", \"mode\", 1, 1, 1, 1, 1, \"anchor\", \"pivot\", true, 1, \"target\", true)\nConsole.Log(Text.From(sample.block))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutplacement\"\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":"264e5188dd49c58fed39809e1221f9664aa315bfab7a7784514f9ac5e811da0a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-14","title":"yuiLayoutPlacement.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.\nyuiLayoutPlacement instance = yuiLayoutPlacement(\"block\", \"mode\", 1, 1, 1, 1, 1, \"anchor\", \"pivot\", true, 1, \"target\", true)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuilayoutplacement\"\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":"dc0c93f039115e2d8419542ec6f2e32a5c903a7f1beb59a550f8df0eb83b1671","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["block","mode","x","y","z","width","height","anchor","pivot","clipped","zOrder","target","offscreen","yuiLayoutPlacement","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiLayoutPlacement","json":"https://demonhunterlabs.com/reference/items/ui--yuiLayoutPlacement.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiLayoutPlacement.md"}
