{"id":"ui--CreateYuiInputRegion","name":"CreateYuiInputRegion","owner":"yeho","package":"ui","kind":"function","signature":"external CreateYuiInputRegion(text nodeId, int x, int y, int width, int height, int zOrder, bool acceptsPointer) returns yuiInputRegion","description":"Create yui input region from the supplied values.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[{"name":"nodeId","type":"text","description":"Supply node id as text."},{"name":"x","type":"int","description":"Supply x as int."},{"name":"y","type":"int","description":"Supply y as int."},{"name":"width","type":"int","description":"Supply width as int."},{"name":"height","type":"int","description":"Supply height as int."},{"name":"zOrder","type":"int","description":"Supply z order as int."},{"name":"acceptsPointer","type":"bool","description":"Supply accepts pointer as bool."}],"returns":"yuiInputRegion","members":[],"tags":["cpu","function","source-example","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/interaction-model.yh","line":562,"sha256":"8d81aed85100e922e71427f6bf625fed7a7e4bf2c9d6c16ddf4d0570cb71455b"},"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 CreateYuiInputRegion","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.\ntext nodeId = \"node Id\"\nint x = 1\nint y = 1\nint width = 1\nint height = 1\nint zOrder = 1\nbool acceptsPointer = true\nyuiInputRegion result = CreateYuiInputRegion(nodeId, x, y, width, height, zOrder, acceptsPointer)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__createyuiinputregion\"\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":"9f401d03a519e51386c47412acefcc2063e49dd773eafc9ade01ed6e6742238d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=ui--CreateYuiInputRegion","json":"https://demonhunterlabs.com/reference/items/ui--CreateYuiInputRegion.json","markdown":"https://demonhunterlabs.com/reference/text/ui--CreateYuiInputRegion.md"}
