{"id":"ui--yuiScrollBarGeometry","name":"yuiScrollBarGeometry","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiScrollBarGeometry","description":"A yui scroll bar geometry record carrying axis, trackStart, trackLength, thumbStart, thumbLength, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"axis","kind":"field","type":"text","description":"Stores axis as text.","signature":"text axis","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"trackStart","kind":"field","type":"int","description":"Stores track start as int.","signature":"int trackStart","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"trackLength","kind":"field","type":"int","description":"Stores track length as int.","signature":"int trackLength","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"thumbStart","kind":"field","type":"int","description":"Stores thumb start as int.","signature":"int thumbStart","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"thumbLength","kind":"field","type":"int","description":"Stores thumb length as int.","signature":"int thumbLength","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"visible","kind":"field","type":"bool","description":"Stores visible as bool.","signature":"bool visible","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiScrollBarGeometry","kind":"constructor","parameters":[{"name":"axis","type":"text","description":"Axis."},{"name":"trackStart","type":"int","description":"Track start."},{"name":"trackLength","type":"int","description":"Track length."},{"name":"thumbStart","type":"int","description":"Thumb start."},{"name":"thumbLength","type":"int","description":"Thumb length."},{"name":"visible","type":"bool","description":"Visible."}],"returns":"void","signature":"yuiScrollBarGeometry(text axis, int trackStart, int trackLength, int thumbStart, int thumbLength, bool visible)","description":"Yui scroll bar geometry.","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-7","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":5,"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 yuiScrollBarGeometry","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.\nyuiScrollBarGeometry sample = yuiScrollBarGeometry(\"axis\", 1, 1, 1, 1, true)\nConsole.Log(Text.From(sample.axis))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollbargeometry\"\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":"76bb922c38b73fa6df5a35df6836785426854b9bd2ff2d337d7b43058297a8f6","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-7","title":"yuiScrollBarGeometry.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.\nyuiScrollBarGeometry instance = yuiScrollBarGeometry(\"axis\", 1, 1, 1, 1, true)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiscrollbargeometry\"\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":"2e74f7aa0657a7cf0ae430af883373d2351934777f13e22113d5420fd550e947","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["axis","trackStart","trackLength","thumbStart","thumbLength","visible","yuiScrollBarGeometry","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiScrollBarGeometry","json":"https://demonhunterlabs.com/reference/items/ui--yuiScrollBarGeometry.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiScrollBarGeometry.md"}
