{"id":"ui--CreateYuiContactChange","name":"CreateYuiContactChange","owner":"yeho","package":"ui","kind":"function","signature":"external CreateYuiContactChange(text eventKind, text pointerId, text pointerType, int x, int y, int pressurePermille) returns yuiContactChange","description":"Create yui contact change from the supplied values.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[{"name":"eventKind","type":"text","description":"Supply event kind as text."},{"name":"pointerId","type":"text","description":"Supply pointer id as text."},{"name":"pointerType","type":"text","description":"Supply pointer type as text."},{"name":"x","type":"int","description":"Supply x as int."},{"name":"y","type":"int","description":"Supply y as int."},{"name":"pressurePermille","type":"int","description":"Supply pressure permille as int."}],"returns":"yuiContactChange","members":[],"tags":["cpu","function","source-example","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/interaction-multicontact.yh","line":370,"sha256":"83c078f6199b69921a9fb5763946d4631dcf9ddcd67063211787041b071f301f"},"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 CreateYuiContactChange","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.\ntext eventKind = \"event Kind\"\ntext pointerId = \"pointer Id\"\ntext pointerType = \"pointer Type\"\nint x = 1\nint y = 1\nint pressurePermille = 1\nyuiContactChange result = CreateYuiContactChange(eventKind, pointerId, pointerType, x, y, pressurePermille)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__createyuicontactchange\"\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":"0566b5a4c93002ecf3b0bdda451259d5392e9a74046b83f291167733f37b2b0d","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=ui--CreateYuiContactChange","json":"https://demonhunterlabs.com/reference/items/ui--CreateYuiContactChange.json","markdown":"https://demonhunterlabs.com/reference/text/ui--CreateYuiContactChange.md"}
