{"id":"frontend.yui--yuiRect","name":"yuiRect","owner":"yeho","package":"frontend.yui","kind":"thing","signature":"external thing yuiRect","description":"A yui rect record carrying x, y, width, height.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[],"returns":"void","members":[{"name":"x","kind":"field","type":"int","description":"Stores x as int.","signature":"int x","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"y","kind":"field","type":"int","description":"Stores y as int.","signature":"int y","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"width","kind":"field","type":"int","description":"Stores width as int.","signature":"int width","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"height","kind":"field","type":"int","description":"Stores height as int.","signature":"int height","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"yuiRect","kind":"constructor","parameters":[{"name":"x","type":"int","description":"X."},{"name":"y","type":"int","description":"Y."},{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."}],"returns":"void","signature":"yuiRect(int x, int y, int width, int height)","description":"Yui rect.","tags":["thing","constructor","frontend.yui"],"updated":"2026-09-09"}],"tags":["cpu","frontend","frontend.yui","source-example","thing","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/geometry.yh","line":32,"sha256":"7e3835538a80425721ce9b04b55aa34fc6ca1d057d7575876869f1d442c226d2"},"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 yuiRect","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui\n\n// Turn YUI models into a working frontend and its rendering/input adapters.\nyuiRect sample = yuiRect(1, 1, 1, 1)\nConsole.Log(Text.From(sample.x))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuirect\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"43499d3767d509be8aebcf380d29b58dfb4d338b0dc97859366c1c9dd72417fb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["x","y","width","height","yuiRect"],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--yuiRect","json":"https://demonhunterlabs.com/reference/items/frontend.yui--yuiRect.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--yuiRect.md"}
