{"id":"frontend.yui.host.windows--yuiWindowsTextSelectionRectangleV1","name":"yuiWindowsTextSelectionRectangleV1","owner":"yeho","package":"frontend.yui.host.windows","kind":"thing","signature":"external thing yuiWindowsTextSelectionRectangleV1","description":"A yui windows text selection rectangle v1 record carrying sourceStartUtf8, sourceEndUtf8, leftQ26_6, topQ26_6, widthQ26_6, and related state.","context":"Connect YUI to Windows host input, accessibility, and editing services.","parameters":[],"returns":"void","members":[{"name":"sourceStartUtf8","kind":"field","type":"int","description":"Stores source start utf8 as int.","signature":"int sourceStartUtf8","tags":["thing","field","frontend.yui.host.windows"],"updated":"2026-09-09"},{"name":"sourceEndUtf8","kind":"field","type":"int","description":"Stores source end utf8 as int.","signature":"int sourceEndUtf8","tags":["thing","field","frontend.yui.host.windows"],"updated":"2026-09-09"},{"name":"leftQ26_6","kind":"field","type":"int","description":"Stores left q26 6 as int.","signature":"int leftQ26_6","tags":["thing","field","frontend.yui.host.windows"],"updated":"2026-09-09"},{"name":"topQ26_6","kind":"field","type":"int","description":"Stores top q26 6 as int.","signature":"int topQ26_6","tags":["thing","field","frontend.yui.host.windows"],"updated":"2026-09-09"},{"name":"widthQ26_6","kind":"field","type":"int","description":"Stores width q26 6 as int.","signature":"int widthQ26_6","tags":["thing","field","frontend.yui.host.windows"],"updated":"2026-09-09"},{"name":"heightQ26_6","kind":"field","type":"int","description":"Stores height q26 6 as int.","signature":"int heightQ26_6","tags":["thing","field","frontend.yui.host.windows"],"updated":"2026-09-09"},{"name":"bidiLevel","kind":"field","type":"int","description":"Stores bidi level as int.","signature":"int bidiLevel","tags":["thing","field","frontend.yui.host.windows"],"updated":"2026-09-09"},{"name":"yuiWindowsTextSelectionRectangleV1","kind":"constructor","parameters":[{"name":"sourceStartUtf8","type":"int","description":"Source start utf8."},{"name":"sourceEndUtf8","type":"int","description":"Source end utf8."},{"name":"leftQ26_6","type":"int","description":"Left q26 6."},{"name":"topQ26_6","type":"int","description":"Top q26 6."},{"name":"widthQ26_6","type":"int","description":"Width q26 6."},{"name":"heightQ26_6","type":"int","description":"Height q26 6."},{"name":"bidiLevel","type":"int","description":"Bidi level."}],"returns":"void","signature":"yuiWindowsTextSelectionRectangleV1(int sourceStartUtf8, int sourceEndUtf8, int leftQ26_6, int topQ26_6, int widthQ26_6, int heightQ26_6, int bidiLevel)","description":"Yui windows text selection rectangle v1.","tags":["thing","constructor","frontend.yui.host.windows"],"updated":"2026-09-09"},{"name":"Snapshot","kind":"method","parameters":[],"returns":"text","signature":"Snapshot() returns text","description":"Snapshot.","tags":["thing","method","frontend.yui.host.windows"],"exampleId":"method-Snapshot-8","updated":"2026-09-09"}],"tags":["cpu","frontend","frontend.yui.host.windows","host","method","source-example","thing","windows","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/host/windows/text-editing_geometry-editing_geometry_v1.yh","line":80,"sha256":"3e747cb419290ff7dea9b82643316fb944e1060595cca1d83bbd826166493226"},"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 yuiWindowsTextSelectionRectangleV1","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui.host.windows\n\n// Connect YUI to Windows host input, accessibility, and editing services.\nyuiWindowsTextSelectionRectangleV1 sample = yuiWindowsTextSelectionRectangleV1(1, 1, 1, 1, 1, 1, 1)\nConsole.Log(Text.From(sample.sourceStartUtf8))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui_host_windows__yuiwindowstextselectionrectanglev1\"\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 = \"frontend.yui.host.windows\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui/host/windows\"\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 = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"host.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/windows\"\n\n[[dependencies]]\npackage = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\n\n[[dependencies]]\npackage = \"time\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/time\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n\n[[dependencies]]\npackage = \"window\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/window\"\n\n[[dependencies]]\npackage = \"window.multi\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/window/multi\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"d83fc2a40ad2c2af23c9abc6d7fd97259945809980bcf14c944122e391ba0908","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-8","title":"yuiWindowsTextSelectionRectangleV1.Snapshot","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui.host.windows\n\n// Snapshot.\nyuiWindowsTextSelectionRectangleV1 instance = yuiWindowsTextSelectionRectangleV1(1, 1, 1, 1, 1, 1, 1)\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui_host_windows__yuiwindowstextselectionrectanglev1\"\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 = \"frontend.yui.host.windows\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui/host/windows\"\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 = \"graphics.text.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text/windows\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"host.windows\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/windows\"\n\n[[dependencies]]\npackage = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\n\n[[dependencies]]\npackage = \"time\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/time\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n\n[[dependencies]]\npackage = \"window\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/window\"\n\n[[dependencies]]\npackage = \"window.multi\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/window/multi\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"2f2c1f06b9e63dc41cc7696f938b687ae4ed653058e5b4b834d4e30e3546a033","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["sourceStartUtf8","sourceEndUtf8","leftQ26_6","topQ26_6","widthQ26_6","heightQ26_6","bidiLevel","yuiWindowsTextSelectionRectangleV1","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui.host.windows--yuiWindowsTextSelectionRectangleV1","json":"https://demonhunterlabs.com/reference/items/frontend.yui.host.windows--yuiWindowsTextSelectionRectangleV1.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui.host.windows--yuiWindowsTextSelectionRectangleV1.md"}
