{"id":"ui--yuiScrollState","name":"yuiScrollState","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiScrollState","description":"A yui scroll state record carrying contentWidth, contentHeight, viewportWidth, viewportHeight, offsetX, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"contentWidth","kind":"field","type":"int","description":"Stores content width as int.","signature":"int contentWidth","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"contentHeight","kind":"field","type":"int","description":"Stores content height as int.","signature":"int contentHeight","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"viewportWidth","kind":"field","type":"int","description":"Stores viewport width as int.","signature":"int viewportWidth","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"viewportHeight","kind":"field","type":"int","description":"Stores viewport height as int.","signature":"int viewportHeight","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"offsetX","kind":"field","type":"int","description":"Stores offset x as int.","signature":"int offsetX","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"offsetY","kind":"field","type":"int","description":"Stores offset y as int.","signature":"int offsetY","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"lineStep","kind":"field","type":"int","description":"Stores line step as int.","signature":"int lineStep","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"pageOverlap","kind":"field","type":"int","description":"Stores page overlap as int.","signature":"int pageOverlap","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","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":"yuiScrollState","kind":"constructor","parameters":[{"name":"lineStep","type":"int","description":"Line step."},{"name":"pageOverlap","type":"int","description":"Page overlap."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"yuiScrollState(int lineStep, int pageOverlap, text source)","description":"Yui scroll state.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"MaximumOffsetX","kind":"method","parameters":[],"returns":"int","signature":"MaximumOffsetX() returns int","description":"Maximum offset x.","tags":["thing","method","ui"],"exampleId":"method-MaximumOffsetX-11","updated":"2026-09-09"},{"name":"MaximumOffsetY","kind":"method","parameters":[],"returns":"int","signature":"MaximumOffsetY() returns int","description":"Maximum offset y.","tags":["thing","method","ui"],"exampleId":"method-MaximumOffsetY-12","updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","ui"],"exampleId":"method-ValidationIssue-13","updated":"2026-09-09"},{"name":"ClampOffsets","kind":"method","parameters":[],"returns":"void","signature":"ClampOffsets()","description":"Clamp offsets.","tags":["thing","method","ui"],"exampleId":"method-ClampOffsets-14","updated":"2026-09-09"},{"name":"SetGeometry","kind":"method","parameters":[{"name":"contentWidth","type":"int","description":"Content width."},{"name":"contentHeight","type":"int","description":"Content height."},{"name":"viewportWidth","type":"int","description":"Viewport width."},{"name":"viewportHeight","type":"int","description":"Viewport height."}],"returns":"bool","signature":"SetGeometry(int contentWidth, int contentHeight, int viewportWidth, int viewportHeight) returns bool","description":"Set geometry.","tags":["thing","method","ui"],"exampleId":"method-SetGeometry-15","updated":"2026-09-09"},{"name":"ScrollBy","kind":"method","parameters":[{"name":"deltaX","type":"int","description":"Delta x."},{"name":"deltaY","type":"int","description":"Delta y."}],"returns":"bool","signature":"ScrollBy(int deltaX, int deltaY) returns bool","description":"Scroll by.","tags":["thing","method","ui"],"exampleId":"method-ScrollBy-16","updated":"2026-09-09"},{"name":"ScrollWheel","kind":"method","parameters":[{"name":"wheelX","type":"int","description":"Wheel x."},{"name":"wheelY","type":"int","description":"Wheel y."}],"returns":"bool","signature":"ScrollWheel(int wheelX, int wheelY) returns bool","description":"Scroll wheel.","tags":["thing","method","ui"],"exampleId":"method-ScrollWheel-17","updated":"2026-09-09"},{"name":"PageStepX","kind":"method","parameters":[],"returns":"int","signature":"PageStepX() returns int","description":"Page step x.","tags":["thing","method","ui"],"exampleId":"method-PageStepX-18","updated":"2026-09-09"},{"name":"PageStepY","kind":"method","parameters":[],"returns":"int","signature":"PageStepY() returns int","description":"Page step y.","tags":["thing","method","ui"],"exampleId":"method-PageStepY-19","updated":"2026-09-09"},{"name":"HandleKey","kind":"method","parameters":[{"name":"key","type":"text","description":"Key."}],"returns":"bool","signature":"HandleKey(text key) returns bool","description":"Handle key.","tags":["thing","method","ui"],"exampleId":"method-HandleKey-20","updated":"2026-09-09"},{"name":"BringIntoView","kind":"method","parameters":[{"name":"contentRect","type":"yuiLayoutRect","description":"Content rect."}],"returns":"bool","signature":"BringIntoView(yuiLayoutRect contentRect) returns bool","description":"Bring into view.","tags":["thing","method","ui"],"exampleId":"method-BringIntoView-21","updated":"2026-09-09"},{"name":"VisibleContentRect","kind":"method","parameters":[],"returns":"yuiLayoutRect","signature":"VisibleContentRect() returns yuiLayoutRect","description":"Visible content rect.","tags":["thing","method","ui"],"exampleId":"method-VisibleContentRect-22","updated":"2026-09-09"},{"name":"BarGeometry","kind":"method","parameters":[{"name":"axis","type":"text","description":"Axis."},{"name":"trackStart","type":"int","description":"Track start."},{"name":"trackLength","type":"int","description":"Track length."},{"name":"minimumThumbLength","type":"int","description":"Minimum thumb length."}],"returns":"yuiScrollBarGeometry","signature":"BarGeometry(text axis, int trackStart, int trackLength, int minimumThumbLength) returns yuiScrollBarGeometry","description":"Bar geometry.","tags":["thing","method","ui"],"exampleId":"method-BarGeometry-23","updated":"2026-09-09"},{"name":"RenderReport","kind":"method","parameters":[],"returns":"text","signature":"RenderReport() returns text","description":"Render report.","tags":["thing","method","ui"],"exampleId":"method-RenderReport-24","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/layout-scroll.yh","line":30,"sha256":"739117456de67b19047c5e53bf685fbf02c753b034699385071908845eb8f928"},"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 yuiScrollState","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.\nyuiScrollState sample = yuiScrollState(1, 1, \"example\")\nConsole.Log(Text.From(sample.contentWidth))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"8ce50b34cb746a384d18d7531b9cee6ca0563efdb9991d4a9a4b2da769fd497d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MaximumOffsetX-11","title":"yuiScrollState.MaximumOffsetX","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Maximum offset x.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\nint result = instance.MaximumOffsetX()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"a10df9e24bf5ef3de6bbd13d682700291cdc4834d1113437b227602d00e0355a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MaximumOffsetY-12","title":"yuiScrollState.MaximumOffsetY","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Maximum offset y.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\nint result = instance.MaximumOffsetY()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"3cab696f1b4f31c7607951a2695934e624afca6b3a6fe8cc88f02b69a6fae32c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-13","title":"yuiScrollState.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Validation issue.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"272abc1364a53cc2e68b6ea1ddf5f06550e3bd98c581fa5ae218719932d3ecd8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ClampOffsets-14","title":"yuiScrollState.ClampOffsets","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Clamp offsets.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\ninstance.ClampOffsets()\nConsole.Log(\"ClampOffsets completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"75c3cf990a43232aae07e3980484bbac45b0912e6ea74af2c25fa00da028bd09","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SetGeometry-15","title":"yuiScrollState.SetGeometry","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Set geometry.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\nint argument_contentWidth = 1\nint argument_contentHeight = 1\nint argument_viewportWidth = 1\nint argument_viewportHeight = 1\nbool result = instance.SetGeometry(argument_contentWidth, argument_contentHeight, argument_viewportWidth, argument_viewportHeight)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"ffbf5db89e2a3a1ac3d43d0fc2872bcabb242e2d4955f8d575bd30894a74cfa6","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ScrollBy-16","title":"yuiScrollState.ScrollBy","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Scroll by.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\nint argument_deltaX = 1\nint argument_deltaY = 1\nbool result = instance.ScrollBy(argument_deltaX, argument_deltaY)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"f39b381465de951b95ba3bdd128a2fa9e7ebbdeb263d251a2d1386cd2eb216dd","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ScrollWheel-17","title":"yuiScrollState.ScrollWheel","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Scroll wheel.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\nint argument_wheelX = 1\nint argument_wheelY = 1\nbool result = instance.ScrollWheel(argument_wheelX, argument_wheelY)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"15cbf561519d5d9547e8f24652445c609843d6be77a6f77ec9a37ea807f47848","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-PageStepX-18","title":"yuiScrollState.PageStepX","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Page step x.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\nint result = instance.PageStepX()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"5026521a7e3f3d3de7707266ca1953a42bbef1eb774bd98251cc6d6d86508d4c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-PageStepY-19","title":"yuiScrollState.PageStepY","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Page step y.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\nint result = instance.PageStepY()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"8cacf7834758fd6c423cfb7468f5ac125db2777e104e9fc0baf118a71bb36805","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-HandleKey-20","title":"yuiScrollState.HandleKey","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Handle key.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\ntext argument_key = \"argument key\"\nbool result = instance.HandleKey(argument_key)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"6ea044cfcb953c3277ee219735d3d130f804aca0ff3b4a9adc316c95351c625b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-BringIntoView-21","title":"yuiScrollState.BringIntoView","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Bring into view.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\nyuiLayoutRect argument_contentRect = yuiLayoutRect(1, 1, 1, 1)\nbool result = instance.BringIntoView(argument_contentRect)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"7820df013999739d8989e69fc55f86fc72e8e48c2687ba9b3a46770b1301dbd5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-VisibleContentRect-22","title":"yuiScrollState.VisibleContentRect","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Visible content rect.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\nyuiLayoutRect result = instance.VisibleContentRect()\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"4a97a9741064770bbfa8a9b541ad7428c3562f972150a87d92d5055fa57cecb5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-BarGeometry-23","title":"yuiScrollState.BarGeometry","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Bar geometry.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\ntext argument_axis = \"argument axis\"\nint argument_trackStart = 1\nint argument_trackLength = 1\nint argument_minimumThumbLength = 1\nyuiScrollBarGeometry result = instance.BarGeometry(argument_axis, argument_trackStart, argument_trackLength, argument_minimumThumbLength)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"1f0fa8e880dbf434ce497380d2d16658bab4ce6ae4f90f48703452e89de821c2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RenderReport-24","title":"yuiScrollState.RenderReport","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Render report.\nyuiScrollState instance = yuiScrollState(1, 1, \"example\")\ntext result = instance.RenderReport()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollstate\"\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":"f3ea2b145d72f27bea6dbae9d08b726daea631c43bc9bdbdede4d1701b4f3863","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["contentWidth","contentHeight","viewportWidth","viewportHeight","offsetX","offsetY","lineStep","pageOverlap","source","diagnostic","yuiScrollState","MaximumOffsetX","MaximumOffsetY","ValidationIssue","ClampOffsets","SetGeometry","ScrollBy","ScrollWheel","PageStepX","PageStepY","HandleKey","BringIntoView","VisibleContentRect","BarGeometry","RenderReport"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiScrollState","json":"https://demonhunterlabs.com/reference/items/ui--yuiScrollState.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiScrollState.md"}
