{"id":"frontend.yui--yuiPersistentCanvasDamageRegionV1","name":"yuiPersistentCanvasDamageRegionV1","owner":"yeho","package":"frontend.yui","kind":"thing","signature":"external thing yuiPersistentCanvasDamageRegionV1","description":"A yui persistent canvas damage region v1 record carrying bounds, source.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[],"returns":"void","members":[{"name":"bounds","kind":"field","type":"yuiRenderBounds","description":"Stores bounds as yuiRenderBounds.","signature":"yuiRenderBounds bounds","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"yuiPersistentCanvasDamageRegionV1","kind":"constructor","parameters":[{"name":"bounds","type":"yuiRenderBounds","description":"Bounds."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"yuiPersistentCanvasDamageRegionV1(yuiRenderBounds bounds, text source)","description":"Yui persistent canvas damage region v1.","tags":["thing","constructor","frontend.yui"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","frontend.yui"],"exampleId":"method-ValidationIssue-3","updated":"2026-09-09"}],"tags":["cpu","frontend","frontend.yui","method","source-example","thing","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/render-persistent_canvas.yh","line":4,"sha256":"48720d049f91a22c3c1fa07040750e6ba8b45c47c77e91274bedd57ef6b73eb3"},"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 yuiPersistentCanvasDamageRegionV1","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.\nyuiPersistentCanvasDamageRegionV1 sample = yuiPersistentCanvasDamageRegionV1(yuiRenderBounds(1, 1, 1, 1), \"example\")\nConsole.Log(Text.From(sample.source))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuipersistentcanvasdamageregionv1\"\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":"b0ac021af1c24896f6bb74f2a46b0685681ac2e848efcedbcb9f5bc6e9d5bbd6","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-3","title":"yuiPersistentCanvasDamageRegionV1.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Validation issue.\nyuiPersistentCanvasDamageRegionV1 instance = yuiPersistentCanvasDamageRegionV1(yuiRenderBounds(1, 1, 1, 1), \"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuipersistentcanvasdamageregionv1\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"366b5c16f4c12b2d061e710dd6bb861e665db9d8617b29d5e8a300a2784f791f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["bounds","source","yuiPersistentCanvasDamageRegionV1","ValidationIssue"],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--yuiPersistentCanvasDamageRegionV1","json":"https://demonhunterlabs.com/reference/items/frontend.yui--yuiPersistentCanvasDamageRegionV1.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--yuiPersistentCanvasDamageRegionV1.md"}
