[{"data":1,"prerenderedAt":7240},["ShallowReactive",2],{"navigation":3,"docs-sdk-4.1-editor-editing":498,"nav-sdk41":6980,"support-index":7171},[4],{"title":5,"path":6,"stem":7,"children":8,"page":40},"Docs","\u002Fdocs","docs",[9,242,320],{"title":10,"path":11,"stem":12,"children":13,"page":40},"Cloud","\u002Fdocs\u002Fcloud","docs\u002Fcloud",[14],{"title":15,"path":16,"stem":17,"children":18,"page":40},"4.5","\u002Fdocs\u002Fcloud\u002F4.5","docs\u002Fcloud\u002F4.5",[19,41,54,79,100,147,172,196,209,234],{"title":20,"path":21,"stem":22,"children":23,"page":40},"Overview","\u002Fdocs\u002Fcloud\u002F4.5\u002Foverview","docs\u002Fcloud\u002F4.5\u002F01.overview",[24,28,32,36],{"title":25,"path":26,"stem":27},"MyScript iink SDK for web-based platform","\u002Fdocs\u002Fcloud\u002F4.5\u002Foverview\u002Fintroduction","docs\u002Fcloud\u002F4.5\u002F01.overview\u002F01.introduction",{"title":29,"path":30,"stem":31},"Choosing between REST or WebSockets","\u002Fdocs\u002Fcloud\u002F4.5\u002Foverview\u002Fhttp-rest-or-websocket","docs\u002Fcloud\u002F4.5\u002F01.overview\u002F02.http-rest-or-websocket",{"title":33,"path":34,"stem":35},"What's new","\u002Fdocs\u002Fcloud\u002F4.5\u002Foverview\u002Fchangelog","docs\u002Fcloud\u002F4.5\u002F01.overview\u002F03.changelog",{"title":37,"path":38,"stem":39},"Migration guide","\u002Fdocs\u002Fcloud\u002F4.5\u002Foverview\u002Fmigration-guide","docs\u002Fcloud\u002F4.5\u002F01.overview\u002F04.migration-guide",false,{"title":42,"path":43,"stem":44,"children":45,"page":40},"Integration","\u002Fdocs\u002Fcloud\u002F4.5\u002Fintegration","docs\u002Fcloud\u002F4.5\u002F02.integration",[46,50],{"title":47,"path":48,"stem":49},"Supported platforms","\u002Fdocs\u002Fcloud\u002F4.5\u002Fintegration\u002Fplatforms","docs\u002Fcloud\u002F4.5\u002F02.integration\u002F01.platforms",{"title":51,"path":52,"stem":53},"Integration levels","\u002Fdocs\u002Fcloud\u002F4.5\u002Fintegration\u002Fintegration-levels","docs\u002Fcloud\u002F4.5\u002F02.integration\u002F02.integration-levels",{"title":55,"path":56,"stem":57,"children":58,"page":40},"Recognition capabilities","\u002Fdocs\u002Fcloud\u002F4.5\u002Frecognition-capabilities","docs\u002Fcloud\u002F4.5\u002F03.recognition-capabilities",[59,63,67,71,75],{"title":60,"path":61,"stem":62},"Recognizers","\u002Fdocs\u002Fcloud\u002F4.5\u002Frecognition-capabilities\u002Frecognizers","docs\u002Fcloud\u002F4.5\u002F03.recognition-capabilities\u002F01.recognizers",{"title":64,"path":65,"stem":66},"Text languages and features","\u002Fdocs\u002Fcloud\u002F4.5\u002Frecognition-capabilities\u002Ftext-languages","docs\u002Fcloud\u002F4.5\u002F03.recognition-capabilities\u002F02.text-languages",{"title":68,"path":69,"stem":70},"Math elements and rules","\u002Fdocs\u002Fcloud\u002F4.5\u002Frecognition-capabilities\u002Fmath-elements-and-rules","docs\u002Fcloud\u002F4.5\u002F03.recognition-capabilities\u002F03.math-elements-and-rules",{"title":72,"path":73,"stem":74},"Shapes and connectors","\u002Fdocs\u002Fcloud\u002F4.5\u002Frecognition-capabilities\u002Fdiagram-features","docs\u002Fcloud\u002F4.5\u002F03.recognition-capabilities\u002F04.diagram-features",{"title":76,"path":77,"stem":78},"Gestures","\u002Fdocs\u002Fcloud\u002F4.5\u002Frecognition-capabilities\u002Fgestures","docs\u002Fcloud\u002F4.5\u002F03.recognition-capabilities\u002F05.gestures",{"title":80,"path":81,"stem":82,"children":83,"page":40},"Interactivity integration","\u002Fdocs\u002Fcloud\u002F4.5\u002Finteractivity-integration","docs\u002Fcloud\u002F4.5\u002F04.interactivity-integration",[84,88,92,96],{"title":85,"path":86,"stem":87},"Content types","\u002Fdocs\u002Fcloud\u002F4.5\u002Finteractivity-integration\u002Fcontent-types","docs\u002Fcloud\u002F4.5\u002F04.interactivity-integration\u002F01.content-types",{"title":89,"path":90,"stem":91},"Interactive features","\u002Fdocs\u002Fcloud\u002F4.5\u002Finteractivity-integration\u002Finteractive-features","docs\u002Fcloud\u002F4.5\u002F04.interactivity-integration\u002F02.interactive-features",{"title":93,"path":94,"stem":95},"Import and export formats","\u002Fdocs\u002Fcloud\u002F4.5\u002Finteractivity-integration\u002Fimport-and-export-formats","docs\u002Fcloud\u002F4.5\u002F04.interactivity-integration\u002F03.import-and-export-formats",{"title":97,"path":98,"stem":99},"Math interactive features","\u002Fdocs\u002Fcloud\u002F4.5\u002Finteractivity-integration\u002Fmath-features","docs\u002Fcloud\u002F4.5\u002F04.interactivity-integration\u002F04.math-features",{"title":101,"path":102,"stem":103,"children":104,"page":40},"iinkTS","\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts","docs\u002Fcloud\u002F4.5\u002F05.iinkts",[105,109,113,121,138],{"title":106,"path":107,"stem":108},"Getting started","\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts\u002Fget-started","docs\u002Fcloud\u002F4.5\u002F05.iinkts\u002F01.get-started",{"title":110,"path":111,"stem":112},"Canvas","\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts\u002Fcanvas","docs\u002Fcloud\u002F4.5\u002F05.iinkts\u002F02.canvas",{"title":114,"path":115,"stem":116,"children":117,"page":40},"Ink Canvas","\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts\u002Fink-canvas","docs\u002Fcloud\u002F4.5\u002F05.iinkts\u002F03.ink-canvas",[118],{"title":114,"path":119,"stem":120},"\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts\u002Fink-canvas\u002Fink-canvas","docs\u002Fcloud\u002F4.5\u002F05.iinkts\u002F03.ink-canvas\u002F01.ink-canvas",{"title":122,"path":123,"stem":124,"children":125,"page":40},"Interactive Ink Canvas","\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts\u002Finteractive-ink-canvas","docs\u002Fcloud\u002F4.5\u002F05.iinkts\u002F04.interactive-ink-canvas",[126,130,134],{"title":127,"path":128,"stem":129},"Interactive ink canvas","\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts\u002Finteractive-ink-canvas\u002Finteractive-ink-canvas","docs\u002Fcloud\u002F4.5\u002F05.iinkts\u002F04.interactive-ink-canvas\u002F01.interactive-ink-canvas",{"title":131,"path":132,"stem":133},"Interactive Math","\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts\u002Finteractive-ink-canvas\u002Fiicanvas-math","docs\u002Fcloud\u002F4.5\u002F05.iinkts\u002F04.interactive-ink-canvas\u002F02.iicanvas-math",{"title":135,"path":136,"stem":137},"Using a custom rendering","\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts\u002Finteractive-ink-canvas\u002Fiicanvas-other-rendering","docs\u002Fcloud\u002F4.5\u002F05.iinkts\u002F04.interactive-ink-canvas\u002F03.iicanvas-other-rendering",{"title":139,"path":140,"stem":141,"children":142,"page":40},"Reference","\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts\u002Freference","docs\u002Fcloud\u002F4.5\u002F05.iinkts\u002F05.reference",[143],{"title":144,"path":145,"stem":146},"Configuration","\u002Fdocs\u002Fcloud\u002F4.5\u002Fiinkts\u002Freference\u002Fconfiguration-iinkts","docs\u002Fcloud\u002F4.5\u002F05.iinkts\u002F05.reference\u002F01.configuration-iinkts",{"title":148,"path":149,"stem":150,"children":151,"page":40},"REST","\u002Fdocs\u002Fcloud\u002F4.5\u002Frest","docs\u002Fcloud\u002F4.5\u002F06.rest",[152,156,160,164,168],{"title":153,"path":154,"stem":155},"MyScript iink SDK Web REST Overview","\u002Fdocs\u002Fcloud\u002F4.5\u002Frest\u002Farchitecture","docs\u002Fcloud\u002F4.5\u002F06.rest\u002F01.architecture",{"title":157,"path":158,"stem":159},"MyScript iink SDK Web REST Recognizer API","\u002Fdocs\u002Fcloud\u002F4.5\u002Frest\u002Fnew-api","docs\u002Fcloud\u002F4.5\u002F06.rest\u002F02.new-api",{"title":161,"path":162,"stem":163},"Recognizer configuration","\u002Fdocs\u002Fcloud\u002F4.5\u002Frest\u002Fconfiguration-recognizer-rest","docs\u002Fcloud\u002F4.5\u002F06.rest\u002F03.configuration-recognizer-rest",{"title":165,"path":166,"stem":167},"MyScript iink SDK Web REST Batch API","\u002Fdocs\u002Fcloud\u002F4.5\u002Frest\u002Flegacy-api","docs\u002Fcloud\u002F4.5\u002F06.rest\u002F04.legacy-api",{"title":169,"path":170,"stem":171},"Batch configuration","\u002Fdocs\u002Fcloud\u002F4.5\u002Frest\u002Fconfiguration-rest","docs\u002Fcloud\u002F4.5\u002F06.rest\u002F05.configuration-rest",{"title":173,"path":174,"stem":175,"children":176,"page":40},"WebSockets","\u002Fdocs\u002Fcloud\u002F4.5\u002Fwebsockets","docs\u002Fcloud\u002F4.5\u002F07.websockets",[177,181,185,189,193],{"title":178,"path":179,"stem":180},"MyScript iink SDK WebSockets API architecture","\u002Fdocs\u002Fcloud\u002F4.5\u002Fwebsockets\u002Farchitecture","docs\u002Fcloud\u002F4.5\u002F07.websockets\u002F01.architecture",{"title":182,"path":183,"stem":184},"Offscreen interactivity mode messages","\u002Fdocs\u002Fcloud\u002F4.5\u002Fwebsockets\u002Fmessages-offscreen","docs\u002Fcloud\u002F4.5\u002F07.websockets\u002F02.messages-offscreen",{"title":186,"path":187,"stem":188},"Offscreen interactivity math messages","\u002Fdocs\u002Fcloud\u002F4.5\u002Fwebsockets\u002Fmath-offscreen","docs\u002Fcloud\u002F4.5\u002F07.websockets\u002F03.math-offscreen",{"title":190,"path":191,"stem":192},"Onscreen interactivity mode messages","\u002Fdocs\u002Fcloud\u002F4.5\u002Fwebsockets\u002Fmessages-onscreen","docs\u002Fcloud\u002F4.5\u002F07.websockets\u002F04.messages-onscreen",{"title":144,"path":194,"stem":195},"\u002Fdocs\u002Fcloud\u002F4.5\u002Fwebsockets\u002Fconfiguration-ws","docs\u002Fcloud\u002F4.5\u002F07.websockets\u002F05.configuration-ws",{"title":197,"path":198,"stem":199,"children":200,"page":40},"Specific","\u002Fdocs\u002Fcloud\u002F4.5\u002Fspecific","docs\u002Fcloud\u002F4.5\u002F08.specific",[201,205],{"title":202,"path":203,"stem":204},"Text recognition candidates","\u002Fdocs\u002Fcloud\u002F4.5\u002Fspecific\u002Ftext-recognition-candidates","docs\u002Fcloud\u002F4.5\u002F08.specific\u002F01.text-recognition-candidates",{"title":206,"path":207,"stem":208},"Recognition resources","\u002Fdocs\u002Fcloud\u002F4.5\u002Fspecific\u002Fcustom-recognition","docs\u002Fcloud\u002F4.5\u002F08.specific\u002F02.custom-recognition",{"title":210,"path":211,"stem":212,"children":213,"page":40},"Server","\u002Fdocs\u002Fcloud\u002F4.5\u002Fserver","docs\u002Fcloud\u002F4.5\u002F09.server",[214,218,222,226,230],{"title":215,"path":216,"stem":217},"MyScript Server Installation Preamble and Prerequisites","\u002Fdocs\u002Fcloud\u002F4.5\u002Fserver\u002Fpreamble-prerequisites","docs\u002Fcloud\u002F4.5\u002F09.server\u002F01.preamble-prerequisites",{"title":219,"path":220,"stem":221},"MyScript Server Monoserver Installation Documentation","\u002Fdocs\u002Fcloud\u002F4.5\u002Fserver\u002Fmonoserver-installation","docs\u002Fcloud\u002F4.5\u002F09.server\u002F02.monoserver-installation",{"title":223,"path":224,"stem":225},"MyScript Server Production Installation Documentation","\u002Fdocs\u002Fcloud\u002F4.5\u002Fserver\u002Fproduction-installation","docs\u002Fcloud\u002F4.5\u002F09.server\u002F03.production-installation",{"title":227,"path":228,"stem":229},"MyScript Server Migration Guide","\u002Fdocs\u002Fcloud\u002F4.5\u002Fserver\u002Fserver-migration-guide","docs\u002Fcloud\u002F4.5\u002F09.server\u002F04.server-migration-guide",{"title":231,"path":232,"stem":233},"MyScript Server Administration Guide","\u002Fdocs\u002Fcloud\u002F4.5\u002Fserver\u002Fadministration-guide","docs\u002Fcloud\u002F4.5\u002F09.server\u002F05.administration-guide",{"title":139,"path":235,"stem":236,"children":237,"page":40},"\u002Fdocs\u002Fcloud\u002F4.5\u002Freference","docs\u002Fcloud\u002F4.5\u002F10.reference",[238],{"title":239,"path":240,"stem":241},"JIIX format reference","\u002Fdocs\u002Fcloud\u002F4.5\u002Freference\u002Fjiix","docs\u002Fcloud\u002F4.5\u002F10.reference\u002F01.jiix",{"title":243,"path":244,"stem":245,"children":246,"page":40},"Concepts","\u002Fdocs\u002Fconcepts","docs\u002Fconcepts",[247,250,254],{"title":20,"path":248,"stem":249},"\u002Fdocs\u002Fconcepts\u002Foverview","docs\u002Fconcepts\u002F01.overview",{"title":251,"path":252,"stem":253},"Glossary","\u002Fdocs\u002Fconcepts\u002Fglossary","docs\u002Fconcepts\u002F02.glossary",{"title":255,"path":256,"stem":257,"children":258,"page":40},"Fundamentals","\u002Fdocs\u002Fconcepts\u002Ffundamentals","docs\u002Fconcepts\u002F03.fundamentals",[259,263,292,312],{"title":260,"path":261,"stem":262},"OCR vs digital ink recognition","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Fdigital-ink-vs-ocr","docs\u002Fconcepts\u002F03.fundamentals\u002F01.digital-ink-vs-ocr",{"title":264,"path":265,"stem":266,"children":267,"page":40},"Ink interpretation","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Fink-interpretation","docs\u002Fconcepts\u002F03.fundamentals\u002F02.ink-interpretation",[268,272,276,280,284,288],{"title":269,"path":270,"stem":271},"Ink processing","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Fink-interpretation\u002Fink-interpretation","docs\u002Fconcepts\u002F03.fundamentals\u002F02.ink-interpretation\u002F01.ink-interpretation",{"title":273,"path":274,"stem":275},"Recognition features","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Fink-interpretation\u002Fcontent-types","docs\u002Fconcepts\u002F03.fundamentals\u002F02.ink-interpretation\u002F02.content-types",{"title":277,"path":278,"stem":279},"Ink classification","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Fink-interpretation\u002Fink-classification","docs\u002Fconcepts\u002F03.fundamentals\u002F02.ink-interpretation\u002F03.ink-classification",{"title":281,"path":282,"stem":283},"What are batch mode and incremental mode?","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Fink-interpretation\u002Fbatch-mode","docs\u002Fconcepts\u002F03.fundamentals\u002F02.ink-interpretation\u002F04.batch-mode",{"title":285,"path":286,"stem":287},"Gestures and context","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Fink-interpretation\u002Fcontext-gestures","docs\u002Fconcepts\u002F03.fundamentals\u002F02.ink-interpretation\u002F05.context-gestures",{"title":289,"path":290,"stem":291},"What is interactivity","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Fink-interpretation\u002Finteractive-ink","docs\u002Fconcepts\u002F03.fundamentals\u002F02.ink-interpretation\u002F06.interactive-ink",{"title":293,"path":294,"stem":295,"children":296,"page":40},"Rendering-driven interactivity","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Frendering-driven-interactivity","docs\u002Fconcepts\u002F03.fundamentals\u002F03.rendering-driven-interactivity",[297,301,304,308],{"title":298,"path":299,"stem":300},"Ink capture","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Frendering-driven-interactivity\u002Fink-capture","docs\u002Fconcepts\u002F03.fundamentals\u002F03.rendering-driven-interactivity\u002F01.ink-capture",{"title":76,"path":302,"stem":303},"\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Frendering-driven-interactivity\u002Fediting-gestures","docs\u002Fconcepts\u002F03.fundamentals\u002F03.rendering-driven-interactivity\u002F02.editing-gestures",{"title":305,"path":306,"stem":307},"Smart tools","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Frendering-driven-interactivity\u002Fsmart-tools","docs\u002Fconcepts\u002F03.fundamentals\u002F03.rendering-driven-interactivity\u002F03.smart-tools",{"title":309,"path":310,"stem":311},"Responsive and productive","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Frendering-driven-interactivity\u002Fresponsive-layout","docs\u002Fconcepts\u002F03.fundamentals\u002F03.rendering-driven-interactivity\u002F04.responsive-layout",{"title":313,"path":314,"stem":315,"children":316,"page":40},"Handwriting generation","\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Fhandwriting-generation","docs\u002Fconcepts\u002F03.fundamentals\u002F04.handwriting-generation",[317],{"title":313,"path":318,"stem":319},"\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Fhandwriting-generation\u002Fhandwriting-generation","docs\u002Fconcepts\u002F03.fundamentals\u002F04.handwriting-generation\u002F01.handwriting-generation",{"title":321,"path":322,"stem":323,"children":324,"page":40},"Sdk","\u002Fdocs\u002Fsdk","docs\u002Fsdk",[325],{"title":15,"path":326,"stem":327,"children":328,"page":40},"\u002Fdocs\u002Fsdk\u002F4.5","docs\u002Fsdk\u002F4.5",[329,333,336,339,349,368,381,393,401,417,426,463,467,470,474,477,484],{"title":330,"path":331,"stem":332},"About MyScript iink SDK","\u002Fdocs\u002Fsdk\u002F4.5\u002Fabout","docs\u002Fsdk\u002F4.5\u002F01.about",{"title":33,"path":334,"stem":335},"\u002Fdocs\u002Fsdk\u002F4.5\u002Fchangelog","docs\u002Fsdk\u002F4.5\u002F02.changelog",{"title":37,"path":337,"stem":338},"\u002Fdocs\u002Fsdk\u002F4.5\u002Fmigration-guide","docs\u002Fsdk\u002F4.5\u002F03.migration-guide",{"title":42,"path":340,"stem":341,"children":342,"page":40},"\u002Fdocs\u002Fsdk\u002F4.5\u002Fintegration","docs\u002Fsdk\u002F4.5\u002F04.integration",[343,346],{"title":47,"path":344,"stem":345},"\u002Fdocs\u002Fsdk\u002F4.5\u002Fintegration\u002Fplatforms","docs\u002Fsdk\u002F4.5\u002F04.integration\u002F01.platforms",{"title":51,"path":347,"stem":348},"\u002Fdocs\u002Fsdk\u002F4.5\u002Fintegration\u002Fintegration-levels","docs\u002Fsdk\u002F4.5\u002F04.integration\u002F02.integration-levels",{"title":55,"path":350,"stem":351,"children":352,"page":40},"\u002Fdocs\u002Fsdk\u002F4.5\u002Frecognition-capabilities","docs\u002Fsdk\u002F4.5\u002F05.recognition-capabilities",[353,356,359,362,365],{"title":60,"path":354,"stem":355},"\u002Fdocs\u002Fsdk\u002F4.5\u002Frecognition-capabilities\u002Frecognizers","docs\u002Fsdk\u002F4.5\u002F05.recognition-capabilities\u002F01.recognizers",{"title":64,"path":357,"stem":358},"\u002Fdocs\u002Fsdk\u002F4.5\u002Frecognition-capabilities\u002Ftext-languages","docs\u002Fsdk\u002F4.5\u002F05.recognition-capabilities\u002F02.text-languages",{"title":68,"path":360,"stem":361},"\u002Fdocs\u002Fsdk\u002F4.5\u002Frecognition-capabilities\u002Fmath-elements-and-rules","docs\u002Fsdk\u002F4.5\u002F05.recognition-capabilities\u002F03.math-elements-and-rules",{"title":72,"path":363,"stem":364},"\u002Fdocs\u002Fsdk\u002F4.5\u002Frecognition-capabilities\u002Fdiagram-features","docs\u002Fsdk\u002F4.5\u002F05.recognition-capabilities\u002F04.diagram-features",{"title":76,"path":366,"stem":367},"\u002Fdocs\u002Fsdk\u002F4.5\u002Frecognition-capabilities\u002Fgestures","docs\u002Fsdk\u002F4.5\u002F05.recognition-capabilities\u002F05.gestures",{"title":80,"path":369,"stem":370,"children":371,"page":40},"\u002Fdocs\u002Fsdk\u002F4.5\u002Finteractivity-integration","docs\u002Fsdk\u002F4.5\u002F06.interactivity-integration",[372,375,378],{"title":85,"path":373,"stem":374},"\u002Fdocs\u002Fsdk\u002F4.5\u002Finteractivity-integration\u002Fcontent-types","docs\u002Fsdk\u002F4.5\u002F06.interactivity-integration\u002F01.content-types",{"title":89,"path":376,"stem":377},"\u002Fdocs\u002Fsdk\u002F4.5\u002Finteractivity-integration\u002Finteractive-features","docs\u002Fsdk\u002F4.5\u002F06.interactivity-integration\u002F02.interactive-features",{"title":93,"path":379,"stem":380},"\u002Fdocs\u002Fsdk\u002F4.5\u002Finteractivity-integration\u002Fimport-and-export-formats","docs\u002Fsdk\u002F4.5\u002F06.interactivity-integration\u002F03.import-and-export-formats",{"title":106,"path":382,"stem":383,"children":384,"page":40},"\u002Fdocs\u002Fsdk\u002F4.5\u002Fgetting-started","docs\u002Fsdk\u002F4.5\u002F07.getting-started",[385,389],{"title":386,"path":387,"stem":388},"Setup","\u002Fdocs\u002Fsdk\u002F4.5\u002Fgetting-started\u002Fsetup","docs\u002Fsdk\u002F4.5\u002F07.getting-started\u002F01.setup",{"title":390,"path":391,"stem":392},"Instantiate Engine","\u002Fdocs\u002Fsdk\u002F4.5\u002Fgetting-started\u002Finteractive-ink-runtime","docs\u002Fsdk\u002F4.5\u002F07.getting-started\u002F02.interactive-ink-runtime",{"title":394,"path":395,"stem":396,"children":397,"page":40},"Recognizer","\u002Fdocs\u002Fsdk\u002F4.5\u002Frecognizer","docs\u002Fsdk\u002F4.5\u002F08.recognizer",[398],{"title":60,"path":399,"stem":400},"\u002Fdocs\u002Fsdk\u002F4.5\u002Frecognizer\u002Frecognizers","docs\u002Fsdk\u002F4.5\u002F08.recognizer\u002F01.recognizers",{"title":402,"path":403,"stem":404,"children":405,"page":40},"Interactivity specific","\u002Fdocs\u002Fsdk\u002F4.5\u002Finteractivity","docs\u002Fsdk\u002F4.5\u002F09.interactivity",[406,410,413],{"title":407,"path":408,"stem":409},"Storage","\u002Fdocs\u002Fsdk\u002F4.5\u002Finteractivity\u002Fstorage","docs\u002Fsdk\u002F4.5\u002F09.interactivity\u002F01.storage",{"title":97,"path":411,"stem":412},"\u002Fdocs\u002Fsdk\u002F4.5\u002Finteractivity\u002Fmath-features","docs\u002Fsdk\u002F4.5\u002F09.interactivity\u002F02.math-features",{"title":414,"path":415,"stem":416},"Integrate with the undo\u002Fredo stack of your application","\u002Fdocs\u002Fsdk\u002F4.5\u002Finteractivity\u002Fcombined-undo-redo-stacks","docs\u002Fsdk\u002F4.5\u002F09.interactivity\u002F03.combined-undo-redo-stacks",{"title":418,"path":419,"stem":420,"children":421,"page":40},"OffScreenEditor specific","\u002Fdocs\u002Fsdk\u002F4.5\u002Foffscreen-editor","docs\u002Fsdk\u002F4.5\u002F10.offscreen-editor",[422],{"title":423,"path":424,"stem":425},"OffscreenEditor","\u002Fdocs\u002Fsdk\u002F4.5\u002Foffscreen-editor\u002Foff-screen-usage","docs\u002Fsdk\u002F4.5\u002F10.offscreen-editor\u002F01.off-screen-usage",{"title":427,"path":428,"stem":429,"children":430,"page":40},"Editor specific","\u002Fdocs\u002Fsdk\u002F4.5\u002Feditor","docs\u002Fsdk\u002F4.5\u002F11.editor",[431,435,439,443,447,451,455,459],{"title":432,"path":433,"stem":434},"Rendering","\u002Fdocs\u002Fsdk\u002F4.5\u002Feditor\u002Frendering","docs\u002Fsdk\u002F4.5\u002F11.editor\u002F01.rendering",{"title":436,"path":437,"stem":438},"Editing","\u002Fdocs\u002Fsdk\u002F4.5\u002Feditor\u002Fediting","docs\u002Fsdk\u002F4.5\u002F11.editor\u002F02.editing",{"title":440,"path":441,"stem":442},"Tool controller","\u002Fdocs\u002Fsdk\u002F4.5\u002Feditor\u002Ftool-controller","docs\u002Fsdk\u002F4.5\u002F11.editor\u002F03.tool-controller",{"title":444,"path":445,"stem":446},"Selection and block","\u002Fdocs\u002Fsdk\u002F4.5\u002Feditor\u002Fblock-selection-management","docs\u002Fsdk\u002F4.5\u002F11.editor\u002F04.block-selection-management",{"title":448,"path":449,"stem":450},"Conversion","\u002Fdocs\u002Fsdk\u002F4.5\u002Feditor\u002Fconversion","docs\u002Fsdk\u002F4.5\u002F11.editor\u002F05.conversion",{"title":452,"path":453,"stem":454},"Zooming and scrolling","\u002Fdocs\u002Fsdk\u002F4.5\u002Feditor\u002Fzooming-and-scrolling","docs\u002Fsdk\u002F4.5\u002F11.editor\u002F06.zooming-and-scrolling",{"title":456,"path":457,"stem":458},"Styling","\u002Fdocs\u002Fsdk\u002F4.5\u002Feditor\u002Fstyling","docs\u002Fsdk\u002F4.5\u002F11.editor\u002F07.styling",{"title":460,"path":461,"stem":462},"Custom inking","\u002Fdocs\u002Fsdk\u002F4.5\u002Feditor\u002Fcustom-inking","docs\u002Fsdk\u002F4.5\u002F11.editor\u002F08.custom-inking",{"title":464,"path":465,"stem":466},"Result, import and export","\u002Fdocs\u002Fsdk\u002F4.5\u002Fimport-and-export","docs\u002Fsdk\u002F4.5\u002F12.import-and-export",{"title":202,"path":468,"stem":469},"\u002Fdocs\u002Fsdk\u002F4.5\u002Ftext-recognition-candidates","docs\u002Fsdk\u002F4.5\u002F13.text-recognition-candidates",{"title":471,"path":472,"stem":473},"Error management","\u002Fdocs\u002Fsdk\u002F4.5\u002Ferror-management","docs\u002Fsdk\u002F4.5\u002F14.error-management",{"title":206,"path":475,"stem":476},"\u002Fdocs\u002Fsdk\u002F4.5\u002Fcustom-recognition","docs\u002Fsdk\u002F4.5\u002F15.custom-recognition",{"title":313,"path":478,"stem":479,"children":480,"page":40},"\u002Fdocs\u002Fsdk\u002F4.5\u002Fhandwriting-generation","docs\u002Fsdk\u002F4.5\u002F16.handwriting-generation",[481],{"title":313,"path":482,"stem":483},"\u002Fdocs\u002Fsdk\u002F4.5\u002Fhandwriting-generation\u002Fhandwriting-generation","docs\u002Fsdk\u002F4.5\u002F16.handwriting-generation\u002F01.handwriting-generation",{"title":139,"path":485,"stem":486,"children":487,"page":40},"\u002Fdocs\u002Fsdk\u002F4.5\u002Freference","docs\u002Fsdk\u002F4.5\u002F17.reference",[488,491,494],{"title":144,"path":489,"stem":490},"\u002Fdocs\u002Fsdk\u002F4.5\u002Freference\u002Fconfiguration","docs\u002Fsdk\u002F4.5\u002F17.reference\u002F01.configuration",{"title":239,"path":492,"stem":493},"\u002Fdocs\u002Fsdk\u002F4.5\u002Freference\u002Fjiix","docs\u002Fsdk\u002F4.5\u002F17.reference\u002F02.jiix",{"title":495,"path":496,"stem":497},"Styling reference","\u002Fdocs\u002Fsdk\u002F4.5\u002Freference\u002Fstyling","docs\u002Fsdk\u002F4.5\u002F17.reference\u002F03.styling",{"path":499,"page":500},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Fediting",{"id":501,"title":436,"body":502,"canonicalPath":6970,"description":6971,"extension":6972,"icon":6973,"meta":6974,"navTitle":6975,"navigation":874,"path":499,"resolveKey":6976,"resolveVersion":2843,"seo":6977,"stem":6978,"__hash__":6979},"sdk41\u002Fdocs\u002Fsdk\u002F4.1\u002F11.editor\u002F02.editing.md",{"type":503,"value":504,"toc":6951},"minimark",[505,526,531,536,558,775,779,787,830,833,1877,1889,1893,1954,2332,2336,2349,2357,2380,2385,2391,2395,2398,2402,2405,2502,2505,2579,2582,3105,3108,3149,3152,3738,3741,3755,3762,3766,3769,3811,3814,6314,6317,6338,6343,6353,6357,6363,6373,6393,6444,6452,6472,6486,6490,6495,6503,6513,6521,6528,6532,6536,6539,6547,6551,6623,6627,6630,6808,6904,6944,6947],[506,507,508,521],"partial",{},[509,510,512],"template",{"v-slot:swift":511},"",[513,514,515,516,520],"p",{},"This page introduces the role of the ",[517,518,519],"code",{},"IINKEditor"," object, the central point to interact with content.",[513,522,515,523,520],{},[517,524,525],{},"Editor",[527,528,530],"h2",{"id":529},"editor-creation-and-configuration","Editor creation and configuration",[532,533,535],"h3",{"id":534},"creation","Creation",[506,537,538,550],{},[509,539,540],{"v-slot:swift":511},[513,541,542,543,545,546,549],{},"An ",[517,544,519],{}," is the main entry point to act on interactive content.\nIt is responsible for building and updating a content model from users' input events and\u002For edition commands.\nIt is instantiated from an ",[517,547,548],{},"IINKEngine"," object:",[513,551,542,552,545,554,557],{},[517,553,525],{},[517,555,556],{},"Engine",":",[506,559,560,635,677,724],{},[509,561,562,611,620],{"v-slot:java":511},[563,564,568],"pre",{"className":565,"code":566,"language":567,"meta":511,"style":511},"language-java shiki shiki-themes blue-hacker-light blue-hacker-light blue-hacker-dark","\u002F\u002F Creating an editor\nEditor editor = engine.createEditor(renderer, toolcontroller);\n","java",[517,569,570,579],{"__ignoreMap":511},[571,572,575],"span",{"class":573,"line":574},"line",1,[571,576,578],{"class":577},"sJjcI","\u002F\u002F Creating an editor\n",[571,580,582,585,589,592,595,599,602,605,608],{"class":573,"line":581},2,[571,583,525],{"class":584},"sglaT",[571,586,588],{"class":587},"sEQEB"," editor ",[571,590,591],{"class":584},"=",[571,593,594],{"class":587}," engine",[571,596,598],{"class":597},"soFc9",".createEditor(",[571,600,601],{"class":587},"renderer",[571,603,604],{"class":597},",",[571,606,607],{"class":587}," toolcontroller",[571,609,610],{"class":597},");\n",[513,612,613,614,619],{},"The ToolController argument is optional. If you omit it, the editor will instantiate a ",[615,616,618],"a",{"href":617},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Ftool-controller#getting-a-tool-controller","ToolController"," with the default settings.",[621,622,624],"callout",{"color":623},"secondary",[513,625,626,627,630,631,634],{},"If you use the reference implementation, calling ",[517,628,629],{},"openEditor()"," on ",[517,632,633],{},"EditorBinding"," will create the editor automatically for you.",[509,636,637,665,669],{"v-slot:swift":511},[563,638,642],{"className":639,"code":640,"language":641,"meta":511,"style":511},"language-swift shiki shiki-themes blue-hacker-light blue-hacker-light blue-hacker-dark","\u002F\u002Fcreate the Editor\nlet editor = engine.createEditor(renderer: renderer, toolController: toolcontroller)\n","swift",[517,643,644,649],{"__ignoreMap":511},[571,645,646],{"class":573,"line":574},[571,647,648],{"class":577},"\u002F\u002Fcreate the Editor\n",[571,650,651,655,657,659,662],{"class":573,"line":581},[571,652,654],{"class":653},"sU2JI","let",[571,656,588],{"class":587},[571,658,591],{"class":584},[571,660,661],{"class":587}," engine.",[571,663,664],{"class":597},"createEditor(renderer: renderer, toolController: toolcontroller)\n",[513,666,613,667,619],{},[615,668,618],{"href":617},[621,670,671],{"color":623},[513,672,673,674,634],{},"If you use the reference implementation, the ",[517,675,676],{},"EditorViewModel",[509,678,679,713,717],{"v-slot:cpp":511},[563,680,684],{"className":681,"code":682,"language":683,"meta":511,"style":511},"language-cpp shiki shiki-themes blue-hacker-light blue-hacker-light blue-hacker-dark","\u002F\u002F Create a new editor\nauto editor = engine->createEditor(renderer, toolcontroller);\n","cpp",[517,685,686,691],{"__ignoreMap":511},[571,687,688],{"class":573,"line":574},[571,689,690],{"class":577},"\u002F\u002F Create a new editor\n",[571,692,693,696,698,700,702,705,707,709,711],{"class":573,"line":581},[571,694,695],{"class":584},"auto",[571,697,588],{"class":587},[571,699,591],{"class":584},[571,701,594],{"class":587},[571,703,704],{"class":597},"->createEditor(",[571,706,601],{"class":587},[571,708,604],{"class":597},[571,710,607],{"class":587},[571,712,610],{"class":597},[513,714,613,715,619],{},[615,716,618],{"href":617},[621,718,719],{"color":623},[513,720,626,721,634],{},[517,722,723],{},"EditorWidget::setEngine()",[509,725,726,764,768],{"v-slot:csharp":511},[563,727,731],{"className":728,"code":729,"language":730,"meta":511,"style":511},"language-csharp shiki shiki-themes blue-hacker-light blue-hacker-light blue-hacker-dark","\u002F\u002F Create an editor\nvar editor = engine.CreateEditor(renderer, toolController);\n","csharp",[517,732,733,738],{"__ignoreMap":511},[571,734,735],{"class":573,"line":574},[571,736,737],{"class":577},"\u002F\u002F Create an editor\n",[571,739,740,743,747,750,752,755,757,759,762],{"class":573,"line":581},[571,741,742],{"class":584},"var",[571,744,746],{"class":745},"sVYTS"," editor",[571,748,749],{"class":584}," =",[571,751,594],{"class":587},[571,753,754],{"class":597},".CreateEditor(",[571,756,601],{"class":587},[571,758,604],{"class":597},[571,760,761],{"class":587}," toolController",[571,763,610],{"class":597},[513,765,613,766,619],{},[615,767,618],{"href":617},[621,769,770],{"color":623},[513,771,673,772,634],{},[517,773,774],{},"EditorUserControl",[532,776,778],{"id":777},"editor-level-configuration","Editor-level configuration",[513,780,781,782,786],{},"While iink SDK can be globally ",[615,783,785],{"href":784},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fgetting-started\u002Finteractive-ink-runtime#configuration","configured at engine level",", it is possible to override this configuration at editor level. This is\nparticularly useful in form-like use cases, where you need to manipulate fields with different configurations.",[506,788,789,803,811,822],{},[509,790,791],{"v-slot:swift":511},[513,792,793,794,797,798,802],{},"You can access the configuration of a specific editor via the ",[517,795,796],{},"configuration"," property and ",[799,800,801],"strong",{},"set the values of the keys that should override the global\nconfiguration",", in a cascade-like manner. Values of the keys you do not explicitly set at editor-level still follow engine-level configuration.",[509,804,805],{"v-slot:csharp":511},[513,806,793,807,797,809,802],{},[517,808,144],{},[799,810,801],{},[509,812,813],{"v-slot:java":511},[513,814,815,816,819,820,802],{},"You can access the configuration of a specific editor by calling ",[517,817,818],{},"getConfiguration()"," and ",[799,821,801],{},[509,823,824],{"v-slot:cpp":511},[513,825,815,826,819,828,802],{},[517,827,818],{},[799,829,801],{},[513,831,832],{},"For example:",[506,834,835,1117,1386,1625],{},[509,836,837],{"v-slot:java":511},[563,838,840],{"className":565,"code":839,"language":567,"meta":511,"style":511},"Configuration globalConfig = engine.getConfiguration();\nConfiguration editorConfig = editor.getConfiguration();\n\n\u002F\u002F Global configuration values apply ...\nString globalUnit = globalConfig.getString(\"math.solver.angle-unit\"); \u002F\u002F -> \"deg\"\nString editorUnit = editorConfig.getString(\"math.solver.angle-unit\"); \u002F\u002F -> \"deg\"\nglobalConfig.setString(\"math.solver.angle-unit\", \"rad\");\nglobalUnit = globalConfig.getString(\"math.solver.angle-unit\");        \u002F\u002F -> \"rad\"\neditorUnit = editorConfig.getString(\"math.solver.angle-unit\");        \u002F\u002F -> \"rad\"\n\n\u002F\u002F ... except if overridden at editor level\neditorConfig.setNumber(\"math.solver.fractional-part-digits\", 4);\nglobalConfig.setNumber(\"math.solver.fractional-part-digits\", 2);\nNumber editorDigits = editorConfig.getNumber(\"math.solver.fractional-part-digits\"); \u002F\u002F -> 4\nNumber globalDigits = globalConfig.getNumber(\"math.solver.fractional-part-digits\"); \u002F\u002F -> 2\n",[517,841,842,856,869,876,882,914,939,966,989,1011,1016,1022,1045,1065,1092],{"__ignoreMap":511},[571,843,844,846,849,851,853],{"class":573,"line":574},[571,845,144],{"class":584},[571,847,848],{"class":587}," globalConfig ",[571,850,591],{"class":584},[571,852,594],{"class":587},[571,854,855],{"class":597},".getConfiguration();\n",[571,857,858,860,863,865,867],{"class":573,"line":581},[571,859,144],{"class":584},[571,861,862],{"class":587}," editorConfig ",[571,864,591],{"class":584},[571,866,746],{"class":587},[571,868,855],{"class":597},[571,870,872],{"class":573,"line":871},3,[571,873,875],{"emptyLinePlaceholder":874},true,"\n",[571,877,879],{"class":573,"line":878},4,[571,880,881],{"class":577},"\u002F\u002F Global configuration values apply ...\n",[571,883,885,888,891,893,896,899,902,906,908,911],{"class":573,"line":884},5,[571,886,887],{"class":584},"String",[571,889,890],{"class":587}," globalUnit ",[571,892,591],{"class":584},[571,894,895],{"class":587}," globalConfig",[571,897,898],{"class":597},".getString(",[571,900,901],{"class":597},"\"",[571,903,905],{"class":904},"sZBTK","math.solver.angle-unit",[571,907,901],{"class":597},[571,909,910],{"class":597},");",[571,912,913],{"class":577}," \u002F\u002F -> \"deg\"\n",[571,915,917,919,922,924,927,929,931,933,935,937],{"class":573,"line":916},6,[571,918,887],{"class":584},[571,920,921],{"class":587}," editorUnit ",[571,923,591],{"class":584},[571,925,926],{"class":587}," editorConfig",[571,928,898],{"class":597},[571,930,901],{"class":597},[571,932,905],{"class":904},[571,934,901],{"class":597},[571,936,910],{"class":597},[571,938,913],{"class":577},[571,940,942,945,948,950,952,954,956,959,962,964],{"class":573,"line":941},7,[571,943,944],{"class":587},"globalConfig",[571,946,947],{"class":597},".setString(",[571,949,901],{"class":597},[571,951,905],{"class":904},[571,953,901],{"class":597},[571,955,604],{"class":597},[571,957,958],{"class":597}," \"",[571,960,961],{"class":904},"rad",[571,963,901],{"class":597},[571,965,610],{"class":597},[571,967,969,972,974,976,978,980,982,984,986],{"class":573,"line":968},8,[571,970,971],{"class":587},"globalUnit ",[571,973,591],{"class":584},[571,975,895],{"class":587},[571,977,898],{"class":597},[571,979,901],{"class":597},[571,981,905],{"class":904},[571,983,901],{"class":597},[571,985,910],{"class":597},[571,987,988],{"class":577},"        \u002F\u002F -> \"rad\"\n",[571,990,992,995,997,999,1001,1003,1005,1007,1009],{"class":573,"line":991},9,[571,993,994],{"class":587},"editorUnit ",[571,996,591],{"class":584},[571,998,926],{"class":587},[571,1000,898],{"class":597},[571,1002,901],{"class":597},[571,1004,905],{"class":904},[571,1006,901],{"class":597},[571,1008,910],{"class":597},[571,1010,988],{"class":577},[571,1012,1014],{"class":573,"line":1013},10,[571,1015,875],{"emptyLinePlaceholder":874},[571,1017,1019],{"class":573,"line":1018},11,[571,1020,1021],{"class":577},"\u002F\u002F ... except if overridden at editor level\n",[571,1023,1025,1028,1031,1033,1036,1038,1040,1043],{"class":573,"line":1024},12,[571,1026,1027],{"class":587},"editorConfig",[571,1029,1030],{"class":597},".setNumber(",[571,1032,901],{"class":597},[571,1034,1035],{"class":904},"math.solver.fractional-part-digits",[571,1037,901],{"class":597},[571,1039,604],{"class":597},[571,1041,1042],{"class":653}," 4",[571,1044,610],{"class":597},[571,1046,1048,1050,1052,1054,1056,1058,1060,1063],{"class":573,"line":1047},13,[571,1049,944],{"class":587},[571,1051,1030],{"class":597},[571,1053,901],{"class":597},[571,1055,1035],{"class":904},[571,1057,901],{"class":597},[571,1059,604],{"class":597},[571,1061,1062],{"class":653}," 2",[571,1064,610],{"class":597},[571,1066,1068,1071,1074,1076,1078,1081,1083,1085,1087,1089],{"class":573,"line":1067},14,[571,1069,1070],{"class":584},"Number",[571,1072,1073],{"class":587}," editorDigits ",[571,1075,591],{"class":584},[571,1077,926],{"class":587},[571,1079,1080],{"class":597},".getNumber(",[571,1082,901],{"class":597},[571,1084,1035],{"class":904},[571,1086,901],{"class":597},[571,1088,910],{"class":597},[571,1090,1091],{"class":577}," \u002F\u002F -> 4\n",[571,1093,1095,1097,1100,1102,1104,1106,1108,1110,1112,1114],{"class":573,"line":1094},15,[571,1096,1070],{"class":584},[571,1098,1099],{"class":587}," globalDigits ",[571,1101,591],{"class":584},[571,1103,895],{"class":587},[571,1105,1080],{"class":597},[571,1107,901],{"class":597},[571,1109,1035],{"class":904},[571,1111,901],{"class":597},[571,1113,910],{"class":597},[571,1115,1116],{"class":577}," \u002F\u002F -> 2\n",[509,1118,1119],{"v-slot:swift":511},[563,1120,1122],{"className":639,"code":1121,"language":641,"meta":511,"style":511},"let globalConfig = engine.configuration\nlet editorConfig = editor.configuration\n\n\u002F\u002F Global configuration values apply ...\nvar globalUnit =  globalConfig.string(forKey: \"math.solver.angle-unit\") \u002F\u002F -> \"deg\"\nvar editorUnit =  editorConfig.string(forKey: \"math.solver.angle-unit\") \u002F\u002F -> \"deg\"\n\nglobalConfig.set(string: \"rad\", forKey: \"math.solver.angle-unit\")\nglobalUnit = globalConfig.string(forKey:\"math.solver.angle-unit\")   \u002F\u002F -> \"rad\"\neditorUnit = editorConfig.string(forKey: \"math.solver.angle-unit\")   \u002F\u002F -> \"rad\"\n\n\u002F\u002F ... except if overridden at editor level\neditorConfig.set(number: 4, forKey: \"math.solver.fractional-part-digits\")\nglobalConfig.set(number: 2, forKey: \"math.solver.fractional-part-digits\")\n\nvar editorDigits =  editorConfig.number(forKey: \"math.solver.fractional-part-digits\", defaultValue: 3) \u002F\u002F -> 4\nvar globalDigits =  globalConfig.number(forKey: \"math.solver.fractional-part-digits\", defaultValue: 3) \u002F\u002F  ->  2\n",[517,1123,1124,1135,1146,1150,1154,1179,1202,1206,1232,1255,1276,1280,1284,1305,1324,1328,1358],{"__ignoreMap":511},[571,1125,1126,1128,1130,1132],{"class":573,"line":574},[571,1127,654],{"class":653},[571,1129,848],{"class":587},[571,1131,591],{"class":584},[571,1133,1134],{"class":587}," engine.configuration\n",[571,1136,1137,1139,1141,1143],{"class":573,"line":581},[571,1138,654],{"class":653},[571,1140,862],{"class":587},[571,1142,591],{"class":584},[571,1144,1145],{"class":587}," editor.configuration\n",[571,1147,1148],{"class":573,"line":871},[571,1149,875],{"emptyLinePlaceholder":874},[571,1151,1152],{"class":573,"line":878},[571,1153,881],{"class":577},[571,1155,1156,1158,1160,1162,1165,1168,1170,1172,1174,1177],{"class":573,"line":884},[571,1157,742],{"class":653},[571,1159,890],{"class":587},[571,1161,591],{"class":584},[571,1163,1164],{"class":587},"  globalConfig.",[571,1166,1167],{"class":597},"string(forKey: ",[571,1169,901],{"class":597},[571,1171,905],{"class":904},[571,1173,901],{"class":597},[571,1175,1176],{"class":597},")",[571,1178,913],{"class":577},[571,1180,1181,1183,1185,1187,1190,1192,1194,1196,1198,1200],{"class":573,"line":916},[571,1182,742],{"class":653},[571,1184,921],{"class":587},[571,1186,591],{"class":584},[571,1188,1189],{"class":587},"  editorConfig.",[571,1191,1167],{"class":597},[571,1193,901],{"class":597},[571,1195,905],{"class":904},[571,1197,901],{"class":597},[571,1199,1176],{"class":597},[571,1201,913],{"class":577},[571,1203,1204],{"class":573,"line":941},[571,1205,875],{"emptyLinePlaceholder":874},[571,1207,1208,1211,1214,1216,1218,1220,1223,1225,1227,1229],{"class":573,"line":968},[571,1209,1210],{"class":587},"globalConfig.set",[571,1212,1213],{"class":597},"(string: ",[571,1215,901],{"class":597},[571,1217,961],{"class":904},[571,1219,901],{"class":597},[571,1221,1222],{"class":597},", forKey: ",[571,1224,901],{"class":597},[571,1226,905],{"class":904},[571,1228,901],{"class":597},[571,1230,1231],{"class":597},")\n",[571,1233,1234,1236,1238,1241,1244,1246,1248,1250,1252],{"class":573,"line":991},[571,1235,971],{"class":587},[571,1237,591],{"class":584},[571,1239,1240],{"class":587}," globalConfig.",[571,1242,1243],{"class":597},"string(forKey:",[571,1245,901],{"class":597},[571,1247,905],{"class":904},[571,1249,901],{"class":597},[571,1251,1176],{"class":597},[571,1253,1254],{"class":577},"   \u002F\u002F -> \"rad\"\n",[571,1256,1257,1259,1261,1264,1266,1268,1270,1272,1274],{"class":573,"line":1013},[571,1258,994],{"class":587},[571,1260,591],{"class":584},[571,1262,1263],{"class":587}," editorConfig.",[571,1265,1167],{"class":597},[571,1267,901],{"class":597},[571,1269,905],{"class":904},[571,1271,901],{"class":597},[571,1273,1176],{"class":597},[571,1275,1254],{"class":577},[571,1277,1278],{"class":573,"line":1018},[571,1279,875],{"emptyLinePlaceholder":874},[571,1281,1282],{"class":573,"line":1024},[571,1283,1021],{"class":577},[571,1285,1286,1289,1292,1295,1297,1299,1301,1303],{"class":573,"line":1047},[571,1287,1288],{"class":587},"editorConfig.set",[571,1290,1291],{"class":597},"(number: ",[571,1293,1294],{"class":653},"4",[571,1296,1222],{"class":597},[571,1298,901],{"class":597},[571,1300,1035],{"class":904},[571,1302,901],{"class":597},[571,1304,1231],{"class":597},[571,1306,1307,1309,1311,1314,1316,1318,1320,1322],{"class":573,"line":1067},[571,1308,1210],{"class":587},[571,1310,1291],{"class":597},[571,1312,1313],{"class":653},"2",[571,1315,1222],{"class":597},[571,1317,901],{"class":597},[571,1319,1035],{"class":904},[571,1321,901],{"class":597},[571,1323,1231],{"class":597},[571,1325,1326],{"class":573,"line":1094},[571,1327,875],{"emptyLinePlaceholder":874},[571,1329,1331,1333,1335,1337,1339,1342,1344,1346,1348,1351,1354,1356],{"class":573,"line":1330},16,[571,1332,742],{"class":653},[571,1334,1073],{"class":587},[571,1336,591],{"class":584},[571,1338,1189],{"class":587},[571,1340,1341],{"class":597},"number(forKey: ",[571,1343,901],{"class":597},[571,1345,1035],{"class":904},[571,1347,901],{"class":597},[571,1349,1350],{"class":597},", defaultValue: ",[571,1352,1353],{"class":653},"3",[571,1355,1176],{"class":597},[571,1357,1091],{"class":577},[571,1359,1361,1363,1365,1367,1369,1371,1373,1375,1377,1379,1381,1383],{"class":573,"line":1360},17,[571,1362,742],{"class":653},[571,1364,1099],{"class":587},[571,1366,591],{"class":584},[571,1368,1164],{"class":587},[571,1370,1341],{"class":597},[571,1372,901],{"class":597},[571,1374,1035],{"class":904},[571,1376,901],{"class":597},[571,1378,1350],{"class":597},[571,1380,1353],{"class":653},[571,1382,1176],{"class":597},[571,1384,1385],{"class":577}," \u002F\u002F  ->  2\n",[509,1387,1388],{"v-slot:cpp":511},[563,1389,1391],{"className":681,"code":1390,"language":683,"meta":511,"style":511},"auto globalConfig = engine->getConfiguration();\nauto editorConfig = editor->getConfiguration();\n\n\u002F\u002F Global configuration values apply ...\nauto globalUnit = globalConfig->getString(\"math.solver.angle-unit\"); \u002F\u002F -> \"deg\"\nauto editorUnit = editorConfig->getString(\"math.solver.angle-unit\"); \u002F\u002F -> \"deg\"\nglobalConfig->setString(\"math.solver.angle-unit\", \"rad\");\nglobalUnit = globalConfig->getString(\"math.solver.angle-unit\");      \u002F\u002F -> \"rad\"\neditorUnit = editorConfig->getString(\"math.solver.angle-unit\");      \u002F\u002F -> \"rad\"\n\n\u002F\u002F ... except if overridden at editor level\neditorConfig->setNumber(\"math.solver.fractional-part-digits\", 4);\nglobalConfig->setNumber(\"math.solver.fractional-part-digits\", 2);\nauto editorDigits = editorConfig->getNumber(\"math.solver.fractional-part-digits\"); \u002F\u002F -> 4\nauto globalDigits = globalConfig->getNumber(\"math.solver.fractional-part-digits\"); \u002F\u002F -> 2\n",[517,1392,1393,1406,1418,1422,1426,1449,1471,1494,1515,1535,1539,1543,1562,1580,1603],{"__ignoreMap":511},[571,1394,1395,1397,1399,1401,1403],{"class":573,"line":574},[571,1396,695],{"class":584},[571,1398,848],{"class":587},[571,1400,591],{"class":584},[571,1402,594],{"class":587},[571,1404,1405],{"class":597},"->getConfiguration();\n",[571,1407,1408,1410,1412,1414,1416],{"class":573,"line":581},[571,1409,695],{"class":584},[571,1411,862],{"class":587},[571,1413,591],{"class":584},[571,1415,746],{"class":587},[571,1417,1405],{"class":597},[571,1419,1420],{"class":573,"line":871},[571,1421,875],{"emptyLinePlaceholder":874},[571,1423,1424],{"class":573,"line":878},[571,1425,881],{"class":577},[571,1427,1428,1430,1432,1434,1436,1439,1441,1443,1445,1447],{"class":573,"line":884},[571,1429,695],{"class":584},[571,1431,890],{"class":587},[571,1433,591],{"class":584},[571,1435,895],{"class":587},[571,1437,1438],{"class":597},"->getString(",[571,1440,901],{"class":597},[571,1442,905],{"class":904},[571,1444,901],{"class":597},[571,1446,910],{"class":597},[571,1448,913],{"class":577},[571,1450,1451,1453,1455,1457,1459,1461,1463,1465,1467,1469],{"class":573,"line":916},[571,1452,695],{"class":584},[571,1454,921],{"class":587},[571,1456,591],{"class":584},[571,1458,926],{"class":587},[571,1460,1438],{"class":597},[571,1462,901],{"class":597},[571,1464,905],{"class":904},[571,1466,901],{"class":597},[571,1468,910],{"class":597},[571,1470,913],{"class":577},[571,1472,1473,1475,1478,1480,1482,1484,1486,1488,1490,1492],{"class":573,"line":941},[571,1474,944],{"class":587},[571,1476,1477],{"class":597},"->setString(",[571,1479,901],{"class":597},[571,1481,905],{"class":904},[571,1483,901],{"class":597},[571,1485,604],{"class":597},[571,1487,958],{"class":597},[571,1489,961],{"class":904},[571,1491,901],{"class":597},[571,1493,610],{"class":597},[571,1495,1496,1498,1500,1502,1504,1506,1508,1510,1512],{"class":573,"line":968},[571,1497,971],{"class":587},[571,1499,591],{"class":584},[571,1501,895],{"class":587},[571,1503,1438],{"class":597},[571,1505,901],{"class":597},[571,1507,905],{"class":904},[571,1509,901],{"class":597},[571,1511,910],{"class":597},[571,1513,1514],{"class":577},"      \u002F\u002F -> \"rad\"\n",[571,1516,1517,1519,1521,1523,1525,1527,1529,1531,1533],{"class":573,"line":991},[571,1518,994],{"class":587},[571,1520,591],{"class":584},[571,1522,926],{"class":587},[571,1524,1438],{"class":597},[571,1526,901],{"class":597},[571,1528,905],{"class":904},[571,1530,901],{"class":597},[571,1532,910],{"class":597},[571,1534,1514],{"class":577},[571,1536,1537],{"class":573,"line":1013},[571,1538,875],{"emptyLinePlaceholder":874},[571,1540,1541],{"class":573,"line":1018},[571,1542,1021],{"class":577},[571,1544,1545,1547,1550,1552,1554,1556,1558,1560],{"class":573,"line":1024},[571,1546,1027],{"class":587},[571,1548,1549],{"class":597},"->setNumber(",[571,1551,901],{"class":597},[571,1553,1035],{"class":904},[571,1555,901],{"class":597},[571,1557,604],{"class":597},[571,1559,1042],{"class":653},[571,1561,610],{"class":597},[571,1563,1564,1566,1568,1570,1572,1574,1576,1578],{"class":573,"line":1047},[571,1565,944],{"class":587},[571,1567,1549],{"class":597},[571,1569,901],{"class":597},[571,1571,1035],{"class":904},[571,1573,901],{"class":597},[571,1575,604],{"class":597},[571,1577,1062],{"class":653},[571,1579,610],{"class":597},[571,1581,1582,1584,1586,1588,1590,1593,1595,1597,1599,1601],{"class":573,"line":1067},[571,1583,695],{"class":584},[571,1585,1073],{"class":587},[571,1587,591],{"class":584},[571,1589,926],{"class":587},[571,1591,1592],{"class":597},"->getNumber(",[571,1594,901],{"class":597},[571,1596,1035],{"class":904},[571,1598,901],{"class":597},[571,1600,910],{"class":597},[571,1602,1091],{"class":577},[571,1604,1605,1607,1609,1611,1613,1615,1617,1619,1621,1623],{"class":573,"line":1094},[571,1606,695],{"class":584},[571,1608,1099],{"class":587},[571,1610,591],{"class":584},[571,1612,895],{"class":587},[571,1614,1592],{"class":597},[571,1616,901],{"class":597},[571,1618,1035],{"class":904},[571,1620,901],{"class":597},[571,1622,910],{"class":597},[571,1624,1116],{"class":577},[509,1626,1627],{"v-slot:csharp":511},[563,1628,1630],{"className":728,"code":1629,"language":730,"meta":511,"style":511},"var globalConfig = engine.Configuration;\nvar editorConfig = editor.Configuration;\n\n\u002F\u002F Global configuration values apply ...\nvar globalUnit = globalConfig.GetString(\"math.solver.angle-unit\"); \u002F\u002F -> \"deg\"\nvar editorUnit = editorConfig.GetString(\"math.solver.angle-unit\"); \u002F\u002F -> \"deg\"\nglobalConfig.SetString(\"math.solver.angle-unit\", \"rad\");\nglobalUnit = globalConfig.GetString(\"math.solver.angle-unit\");     \u002F\u002F -> \"rad\"\neditorUnit = editorConfig.GetString(\"math.solver.angle-unit\");     \u002F\u002F -> \"rad\"\n\n\u002F\u002F ... except if overridden at editor level\neditorConfig.SetNumber(\"math.solver.fractional-part-digits\", 4);\nglobalConfig.SetNumber(\"math.solver.fractional-part-digits\", 2);\nvar editorDigits = editorConfig.GetNumber(\"math.solver.fractional-part-digits\"); \u002F\u002F -> 4\nvar globalDigits = globalConfig.GetNumber(\"math.solver.fractional-part-digits\"); \u002F\u002F -> 2\n",[517,1631,1632,1650,1666,1670,1674,1698,1721,1744,1765,1785,1789,1793,1812,1830,1854],{"__ignoreMap":511},[571,1633,1634,1636,1638,1640,1642,1645,1647],{"class":573,"line":574},[571,1635,742],{"class":584},[571,1637,895],{"class":745},[571,1639,749],{"class":584},[571,1641,594],{"class":587},[571,1643,1644],{"class":597},".",[571,1646,144],{"class":587},[571,1648,1649],{"class":597},";\n",[571,1651,1652,1654,1656,1658,1660,1662,1664],{"class":573,"line":581},[571,1653,742],{"class":584},[571,1655,926],{"class":745},[571,1657,749],{"class":584},[571,1659,746],{"class":587},[571,1661,1644],{"class":597},[571,1663,144],{"class":587},[571,1665,1649],{"class":597},[571,1667,1668],{"class":573,"line":871},[571,1669,875],{"emptyLinePlaceholder":874},[571,1671,1672],{"class":573,"line":878},[571,1673,881],{"class":577},[571,1675,1676,1678,1681,1683,1685,1688,1690,1692,1694,1696],{"class":573,"line":884},[571,1677,742],{"class":584},[571,1679,1680],{"class":745}," globalUnit",[571,1682,749],{"class":584},[571,1684,895],{"class":587},[571,1686,1687],{"class":597},".GetString(",[571,1689,901],{"class":597},[571,1691,905],{"class":904},[571,1693,901],{"class":597},[571,1695,910],{"class":597},[571,1697,913],{"class":577},[571,1699,1700,1702,1705,1707,1709,1711,1713,1715,1717,1719],{"class":573,"line":916},[571,1701,742],{"class":584},[571,1703,1704],{"class":745}," editorUnit",[571,1706,749],{"class":584},[571,1708,926],{"class":587},[571,1710,1687],{"class":597},[571,1712,901],{"class":597},[571,1714,905],{"class":904},[571,1716,901],{"class":597},[571,1718,910],{"class":597},[571,1720,913],{"class":577},[571,1722,1723,1725,1728,1730,1732,1734,1736,1738,1740,1742],{"class":573,"line":941},[571,1724,944],{"class":587},[571,1726,1727],{"class":597},".SetString(",[571,1729,901],{"class":597},[571,1731,905],{"class":904},[571,1733,901],{"class":597},[571,1735,604],{"class":597},[571,1737,958],{"class":597},[571,1739,961],{"class":904},[571,1741,901],{"class":597},[571,1743,610],{"class":597},[571,1745,1746,1748,1750,1752,1754,1756,1758,1760,1762],{"class":573,"line":968},[571,1747,971],{"class":587},[571,1749,591],{"class":584},[571,1751,895],{"class":587},[571,1753,1687],{"class":597},[571,1755,901],{"class":597},[571,1757,905],{"class":904},[571,1759,901],{"class":597},[571,1761,910],{"class":597},[571,1763,1764],{"class":577},"     \u002F\u002F -> \"rad\"\n",[571,1766,1767,1769,1771,1773,1775,1777,1779,1781,1783],{"class":573,"line":991},[571,1768,994],{"class":587},[571,1770,591],{"class":584},[571,1772,926],{"class":587},[571,1774,1687],{"class":597},[571,1776,901],{"class":597},[571,1778,905],{"class":904},[571,1780,901],{"class":597},[571,1782,910],{"class":597},[571,1784,1764],{"class":577},[571,1786,1787],{"class":573,"line":1013},[571,1788,875],{"emptyLinePlaceholder":874},[571,1790,1791],{"class":573,"line":1018},[571,1792,1021],{"class":577},[571,1794,1795,1797,1800,1802,1804,1806,1808,1810],{"class":573,"line":1024},[571,1796,1027],{"class":587},[571,1798,1799],{"class":597},".SetNumber(",[571,1801,901],{"class":597},[571,1803,1035],{"class":904},[571,1805,901],{"class":597},[571,1807,604],{"class":597},[571,1809,1042],{"class":653},[571,1811,610],{"class":597},[571,1813,1814,1816,1818,1820,1822,1824,1826,1828],{"class":573,"line":1047},[571,1815,944],{"class":587},[571,1817,1799],{"class":597},[571,1819,901],{"class":597},[571,1821,1035],{"class":904},[571,1823,901],{"class":597},[571,1825,604],{"class":597},[571,1827,1062],{"class":653},[571,1829,610],{"class":597},[571,1831,1832,1834,1837,1839,1841,1844,1846,1848,1850,1852],{"class":573,"line":1067},[571,1833,742],{"class":584},[571,1835,1836],{"class":745}," editorDigits",[571,1838,749],{"class":584},[571,1840,926],{"class":587},[571,1842,1843],{"class":597},".GetNumber(",[571,1845,901],{"class":597},[571,1847,1035],{"class":904},[571,1849,901],{"class":597},[571,1851,910],{"class":597},[571,1853,1091],{"class":577},[571,1855,1856,1858,1861,1863,1865,1867,1869,1871,1873,1875],{"class":573,"line":1094},[571,1857,742],{"class":584},[571,1859,1860],{"class":745}," globalDigits",[571,1862,749],{"class":584},[571,1864,895],{"class":587},[571,1866,1843],{"class":597},[571,1868,901],{"class":597},[571,1870,1035],{"class":904},[571,1872,901],{"class":597},[571,1874,910],{"class":597},[571,1876,1116],{"class":577},[621,1878,1879],{"color":623},[513,1880,1881,1882,819,1885,1888],{},"Language-related settings like ",[517,1883,1884],{},"text.configuration.bundle",[517,1886,1887],{},"text.configuration.name"," behave in a particular way, in that they are only\nconsidered the very first time a given part is set to an editor and cannot be changed afterwards.",[532,1890,1892],{"id":1891},"setting-a-part","Setting a part",[506,1894,1895,1913,1928,1942],{},[509,1896,1897],{"v-slot:swift":511},[513,1898,542,1899,1901,1902,1908,1909,1912],{},[517,1900,519],{}," works on an ",[615,1903,1905],{"href":1904},"\u002Fdocs\u002Fsdk\u002F4.1\u002Finteractivity\u002Fstorage#structure-of-the-model",[517,1906,1907],{},"IINKContentPart",".\nTo setup the link between them, call the editor's ",[517,1910,1911],{},"part"," property and pass it the part you opened or created:",[509,1914,1915],{"v-slot:csharp":511},[513,1916,542,1917,1919,1920,1908,1925,1912],{},[517,1918,525],{}," works on a ",[615,1921,1922],{"href":1904},[517,1923,1924],{},"ContentPart",[517,1926,1927],{},"Part",[509,1929,1930],{"v-slot:java":511},[513,1931,542,1932,1919,1934,1908,1938,1941],{},[517,1933,525],{},[615,1935,1936],{"href":1904},[517,1937,1924],{},[517,1939,1940],{},"setPart()"," method and pass it the part you opened or created:",[509,1943,1944],{"v-slot:cpp":511},[513,1945,542,1946,1919,1948,1908,1952,1941],{},[517,1947,525],{},[615,1949,1950],{"href":1904},[517,1951,1924],{},[517,1953,1940],{},[506,1955,1956,2061,2139,2235],{},[509,1957,1958,2043],{"v-slot:java":511},[563,1959,1961],{"className":565,"code":1960,"language":567,"meta":511,"style":511},"\u002F\u002F Create a new package\nContentPackage contentPackage = engine.createPackage(packageNameFile);\n\n\u002F\u002F Create a new part\nContentPart contentPart = contentPackage.createPart(\"Text\");\n\n\u002F\u002F Associate editor with the new part\neditor.setPart(contentPart);\n",[517,1962,1963,1968,1988,1992,1997,2021,2025,2030],{"__ignoreMap":511},[571,1964,1965],{"class":573,"line":574},[571,1966,1967],{"class":577},"\u002F\u002F Create a new package\n",[571,1969,1970,1973,1976,1978,1980,1983,1986],{"class":573,"line":581},[571,1971,1972],{"class":584},"ContentPackage",[571,1974,1975],{"class":587}," contentPackage ",[571,1977,591],{"class":584},[571,1979,594],{"class":587},[571,1981,1982],{"class":597},".createPackage(",[571,1984,1985],{"class":587},"packageNameFile",[571,1987,610],{"class":597},[571,1989,1990],{"class":573,"line":871},[571,1991,875],{"emptyLinePlaceholder":874},[571,1993,1994],{"class":573,"line":878},[571,1995,1996],{"class":577},"\u002F\u002F Create a new part\n",[571,1998,1999,2001,2004,2006,2009,2012,2014,2017,2019],{"class":573,"line":884},[571,2000,1924],{"class":584},[571,2002,2003],{"class":587}," contentPart ",[571,2005,591],{"class":584},[571,2007,2008],{"class":587}," contentPackage",[571,2010,2011],{"class":597},".createPart(",[571,2013,901],{"class":597},[571,2015,2016],{"class":904},"Text",[571,2018,901],{"class":597},[571,2020,610],{"class":597},[571,2022,2023],{"class":573,"line":916},[571,2024,875],{"emptyLinePlaceholder":874},[571,2026,2027],{"class":573,"line":941},[571,2028,2029],{"class":577},"\u002F\u002F Associate editor with the new part\n",[571,2031,2032,2035,2038,2041],{"class":573,"line":968},[571,2033,2034],{"class":587},"editor",[571,2036,2037],{"class":597},".setPart(",[571,2039,2040],{"class":587},"contentPart",[571,2042,610],{"class":597},[621,2044,2045],{"color":623},[513,2046,2047,2048,2051,2052,2056,2057,2060],{},"You have to make sure that you previously called ",[517,2049,2050],{},"editor.setViewSize()"," and attached a ",[615,2053,2055],{"href":2054},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Fconversion#computing-font-metrics","font metrics provider","\nto the editor before setting the part. If you use the reference implementation, calling ",[517,2058,2059],{},"editorBinding.openEditor(editorView)"," will do it automatically for you.",[509,2062,2063,2126],{"v-slot:swift":511},[563,2064,2066],{"className":639,"code":2065,"language":641,"meta":511,"style":511},"\u002F\u002Fcreate the content Package\ncontentPackage = engine.createPackage(packageName)\n\n\u002F\u002Fcreate the content part\ncontentPart = contentPackage.createPart(with: partType)\n\n\u002F\u002Fset the part to the editor\neditor.part=contentPart\n",[517,2067,2068,2073,2085,2089,2094,2107,2111,2116],{"__ignoreMap":511},[571,2069,2070],{"class":573,"line":574},[571,2071,2072],{"class":577},"\u002F\u002Fcreate the content Package\n",[571,2074,2075,2078,2080,2082],{"class":573,"line":581},[571,2076,2077],{"class":587},"contentPackage ",[571,2079,591],{"class":584},[571,2081,661],{"class":587},[571,2083,2084],{"class":597},"createPackage(packageName)\n",[571,2086,2087],{"class":573,"line":871},[571,2088,875],{"emptyLinePlaceholder":874},[571,2090,2091],{"class":573,"line":878},[571,2092,2093],{"class":577},"\u002F\u002Fcreate the content part\n",[571,2095,2096,2099,2101,2104],{"class":573,"line":884},[571,2097,2098],{"class":587},"contentPart ",[571,2100,591],{"class":584},[571,2102,2103],{"class":587}," contentPackage.",[571,2105,2106],{"class":597},"createPart(with: partType)\n",[571,2108,2109],{"class":573,"line":916},[571,2110,875],{"emptyLinePlaceholder":874},[571,2112,2113],{"class":573,"line":941},[571,2114,2115],{"class":577},"\u002F\u002Fset the part to the editor\n",[571,2117,2118,2121,2123],{"class":573,"line":968},[571,2119,2120],{"class":587},"editor.part",[571,2122,591],{"class":584},[571,2124,2125],{"class":587},"contentPart\n",[621,2127,2128],{"color":623},[513,2129,2047,2130,2133,2134,2136,2137,2060],{},[517,2131,2132],{},"setViewSize:"," on the editor and attached to it a ",[615,2135,2055],{"href":2054},"\nbefore setting the part. If you use the reference implementation, the ",[517,2138,676],{},[509,2140,2141,2223],{"v-slot:cpp":511},[563,2142,2144],{"className":681,"code":2143,"language":683,"meta":511,"style":511},"\u002F\u002F Create a new package\nauto package = engine->createPackage(\"new_package.iink\");\n\n\u002F\u002F Create a new part\nauto part = package->createPart(\"Text\");\n\n\u002F\u002F Associate editor with the new part\neditor->setPart(part);\n",[517,2145,2146,2150,2173,2177,2181,2204,2208,2212],{"__ignoreMap":511},[571,2147,2148],{"class":573,"line":574},[571,2149,1967],{"class":577},[571,2151,2152,2154,2157,2159,2161,2164,2166,2169,2171],{"class":573,"line":581},[571,2153,695],{"class":584},[571,2155,2156],{"class":587}," package ",[571,2158,591],{"class":584},[571,2160,594],{"class":587},[571,2162,2163],{"class":597},"->createPackage(",[571,2165,901],{"class":597},[571,2167,2168],{"class":904},"new_package.iink",[571,2170,901],{"class":597},[571,2172,610],{"class":597},[571,2174,2175],{"class":573,"line":871},[571,2176,875],{"emptyLinePlaceholder":874},[571,2178,2179],{"class":573,"line":878},[571,2180,1996],{"class":577},[571,2182,2183,2185,2188,2190,2193,2196,2198,2200,2202],{"class":573,"line":884},[571,2184,695],{"class":584},[571,2186,2187],{"class":587}," part ",[571,2189,591],{"class":584},[571,2191,2192],{"class":587}," package",[571,2194,2195],{"class":597},"->createPart(",[571,2197,901],{"class":597},[571,2199,2016],{"class":904},[571,2201,901],{"class":597},[571,2203,610],{"class":597},[571,2205,2206],{"class":573,"line":916},[571,2207,875],{"emptyLinePlaceholder":874},[571,2209,2210],{"class":573,"line":941},[571,2211,2029],{"class":577},[571,2213,2214,2216,2219,2221],{"class":573,"line":968},[571,2215,2034],{"class":587},[571,2217,2218],{"class":597},"->setPart(",[571,2220,1911],{"class":587},[571,2222,610],{"class":597},[621,2224,2225],{"color":623},[513,2226,2047,2227,2051,2230,2056,2232,2060],{},[517,2228,2229],{},"Editor::setViewSize()",[615,2231,2055],{"href":2054},[517,2233,2234],{},"editorView->setEditor()",[509,2236,2237,2321],{"v-slot:csharp":511},[563,2238,2240],{"className":728,"code":2239,"language":730,"meta":511,"style":511},"\u002F\u002F Create a new package\nvar package = engine.CreatePackage(\"newPackage.iink\");\n\n\u002F\u002F Create a new part\nvar part = package.CreatePart(\"Text\");\n\n\u002F\u002F Associate editor with the new part\neditor.Part = part;\n",[517,2241,2242,2246,2268,2272,2276,2298,2302,2306],{"__ignoreMap":511},[571,2243,2244],{"class":573,"line":574},[571,2245,1967],{"class":577},[571,2247,2248,2250,2252,2254,2256,2259,2261,2264,2266],{"class":573,"line":581},[571,2249,742],{"class":584},[571,2251,2192],{"class":745},[571,2253,749],{"class":584},[571,2255,594],{"class":587},[571,2257,2258],{"class":597},".CreatePackage(",[571,2260,901],{"class":597},[571,2262,2263],{"class":904},"newPackage.iink",[571,2265,901],{"class":597},[571,2267,610],{"class":597},[571,2269,2270],{"class":573,"line":871},[571,2271,875],{"emptyLinePlaceholder":874},[571,2273,2274],{"class":573,"line":878},[571,2275,1996],{"class":577},[571,2277,2278,2280,2283,2285,2287,2290,2292,2294,2296],{"class":573,"line":884},[571,2279,742],{"class":584},[571,2281,2282],{"class":745}," part",[571,2284,749],{"class":584},[571,2286,2192],{"class":587},[571,2288,2289],{"class":597},".CreatePart(",[571,2291,901],{"class":597},[571,2293,2016],{"class":904},[571,2295,901],{"class":597},[571,2297,610],{"class":597},[571,2299,2300],{"class":573,"line":916},[571,2301,875],{"emptyLinePlaceholder":874},[571,2303,2304],{"class":573,"line":941},[571,2305,2029],{"class":577},[571,2307,2308,2310,2312,2315,2317,2319],{"class":573,"line":968},[571,2309,2034],{"class":587},[571,2311,1644],{"class":597},[571,2313,2314],{"class":587},"Part ",[571,2316,591],{"class":584},[571,2318,2282],{"class":587},[571,2320,1649],{"class":597},[621,2322,2323],{"color":623},[513,2324,2047,2325,2133,2328,2136,2330,2060],{},[517,2326,2327],{},"SetViewSize()",[615,2329,2055],{"href":2054},[517,2331,774],{},[532,2333,2335],{"id":2334},"guides","Guides",[513,2337,2338,2339,2342,2343,1644],{},"Text Document and Text parts have guides ",[799,2340,2341],{},"set by default",". Guides provide useful hints for end users to know where to write and at what size. They also\nimprove the recognition accuracy, provided that handwriting uses them as ",[615,2344,2348],{"href":2345,"rel":2346},"https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FBaseline_(typography)",[2347],"nofollow","baselines",[513,2350,2351],{},[2352,2353],"img",{"alt":511,"height":2354,"src":2355,"width":2356},511,"\u002Fdocs\u002Fimages\u002Ftext-with-guides.png",1541,[513,2358,2359,2360,2363,2364,2367,2368,2371,2372,2375,2376,1644],{},"You can enable or disable the guides ",[799,2361,2362],{},"of a Text part"," via the ",[517,2365,2366],{},"text.guides.enable"," key of the ",[615,2369,2370],{"href":784},"engine"," or\n",[615,2373,2034],{"href":2374},"#editor-level-configuration"," configuration. The vertical spacing between guides can be tuned via the ",[615,2377,2379],{"href":2378},"\u002Fdocs\u002Fsdk\u002F4.1\u002Freference\u002Fstyling#text","text styling options",[513,2381,2382],{},[2352,2383],{"alt":511,"height":2354,"src":2384,"width":2356},"\u002Fdocs\u002Fimages\u002Ftext-without-guides.png",[621,2386,2388],{"color":2387},"warning",[513,2389,2390],{},"If you know that your input will not match the guides, for instance with ink coming from an unstructured context such as a sheet of\npaper, you must disable them to ensure a good recognition.",[527,2392,2394],{"id":2393},"input-capture","Input capture",[513,2396,2397],{},"You are in charge of capturing the input events.\nThis section gives you some hints on how to transmit the captured inputs to the editor.",[532,2399,2401],{"id":2400},"incremental-input","Incremental input",[513,2403,2404],{},"MyScript iink SDK typically processes user input in real time.\nYou thus have to tell how pointers are interacting with the capture surface (typically a screen or a graphical tablet).",[506,2406,2407,2436,2459,2482],{},[509,2408,2409,2414],{"v-slot:swift":511},[513,2410,2411,2412,549],{},"This can be done by calling the following methods of the ",[517,2413,519],{},[2415,2416,2417,2424,2430],"ul",{},[2418,2419,2420,2423],"li",{},[517,2421,2422],{},"pointerDown(point:timestamp:force:type:pointerId:)"," - When the pointer first touches the surface.",[2418,2425,2426,2429],{},[517,2427,2428],{},"pointerMove(point:timestamp:force:type:pointerId:)"," - When the pointer moves while staying in contact with the surface.",[2418,2431,2432,2435],{},[517,2433,2434],{},"pointerUp(point:timestamp:force:type:pointerId:)"," - When the pointer is lifted from the surface.",[509,2437,2438,2442],{"v-slot:csharp":511},[513,2439,2411,2440,549],{},[517,2441,525],{},[2415,2443,2444,2449,2454],{},[2418,2445,2446,2423],{},[517,2447,2448],{},"PointerDown()",[2418,2450,2451,2429],{},[517,2452,2453],{},"PointerMove()",[2418,2455,2456,2435],{},[517,2457,2458],{},"PointerUp()",[509,2460,2461,2465],{"v-slot:java":511},[513,2462,2411,2463,549],{},[517,2464,525],{},[2415,2466,2467,2472,2477],{},[2418,2468,2469,2423],{},[517,2470,2471],{},"pointerDown()",[2418,2473,2474,2429],{},[517,2475,2476],{},"pointerMove()",[2418,2478,2479,2435],{},[517,2480,2481],{},"pointerUp()",[509,2483,2484,2488],{"v-slot:cpp":511},[513,2485,2411,2486,549],{},[517,2487,525],{},[2415,2489,2490,2494,2498],{},[2418,2491,2492,2423],{},[517,2493,2471],{},[2418,2495,2496,2429],{},[517,2497,2476],{},[2418,2499,2500,2435],{},[517,2501,2481],{},[513,2503,2504],{},"Each of these methods requires you to provide:",[506,2506,2507,2549],{},[509,2508,2509],{"v-slot:swift":511},[2415,2510,2511,2520,2526,2532,2543],{},[2418,2512,2513,819,2516,2519],{},[517,2514,2515],{},"x",[517,2517,2518],{},"y"," - The coordinates in pixels of the pointer on the surface.",[2418,2521,2522,2525],{},[517,2523,2524],{},"t"," - The timestamp of the pointer event",[2418,2527,2528,2531],{},[517,2529,2530],{},"f"," - The pressure information associated to the event (normalized between 0 and 1)",[2418,2533,2534,2537,2538],{},[517,2535,2536],{},"type"," - The type of pointer: see the ",[615,2539,2540],{"href":617},[517,2541,2542],{},"IINKPointerType",[2418,2544,2545,2548],{},[517,2546,2547],{},"pointerId"," - An identifier for this pointer.",[2415,2550,2551,2557,2561,2565,2575],{},[2418,2552,2553,819,2555,2519],{},[517,2554,2515],{},[517,2556,2518],{},[2418,2558,2559,2525],{},[517,2560,2524],{},[2418,2562,2563,2531],{},[517,2564,2530],{},[2418,2566,2567,2537,2570],{},[517,2568,2569],{},"pointerType",[615,2571,2572],{"href":617},[517,2573,2574],{},"PointerType",[2418,2576,2577,2548],{},[517,2578,2547],{},[513,2580,2581],{},"Example:",[506,2583,2584,2718,2871,2991],{},[509,2585,2586,2709],{"v-slot:java":511},[563,2587,2589],{"className":565,"code":2588,"language":567,"meta":511,"style":511},"editor.pointerDown(0.0f, 0.0f, new Date().getTime(), .7f, PointerType.PEN, 1);\neditor.pointerMove(2.4f, 2.4f, new Date().getTime(), .6f, PointerType.PEN, 1);\neditor.pointerUp(2.4f, 4.0f, new Date().getTime(), .5f, PointerType.PEN, 1);\n",[517,2590,2591,2634,2672],{"__ignoreMap":511},[571,2592,2593,2595,2598,2601,2603,2606,2608,2611,2614,2617,2619,2622,2624,2627,2629,2632],{"class":573,"line":574},[571,2594,2034],{"class":587},[571,2596,2597],{"class":597},".pointerDown(",[571,2599,2600],{"class":653},"0.0f",[571,2602,604],{"class":597},[571,2604,2605],{"class":653}," 0.0f",[571,2607,604],{"class":597},[571,2609,2610],{"class":597}," new",[571,2612,2613],{"class":597}," Date().getTime(),",[571,2615,2616],{"class":653}," .7f",[571,2618,604],{"class":597},[571,2620,2621],{"class":587}," PointerType",[571,2623,1644],{"class":597},[571,2625,2626],{"class":587},"PEN",[571,2628,604],{"class":597},[571,2630,2631],{"class":653}," 1",[571,2633,610],{"class":597},[571,2635,2636,2638,2641,2644,2646,2649,2651,2653,2655,2658,2660,2662,2664,2666,2668,2670],{"class":573,"line":581},[571,2637,2034],{"class":587},[571,2639,2640],{"class":597},".pointerMove(",[571,2642,2643],{"class":653},"2.4f",[571,2645,604],{"class":597},[571,2647,2648],{"class":653}," 2.4f",[571,2650,604],{"class":597},[571,2652,2610],{"class":597},[571,2654,2613],{"class":597},[571,2656,2657],{"class":653}," .6f",[571,2659,604],{"class":597},[571,2661,2621],{"class":587},[571,2663,1644],{"class":597},[571,2665,2626],{"class":587},[571,2667,604],{"class":597},[571,2669,2631],{"class":653},[571,2671,610],{"class":597},[571,2673,2674,2676,2679,2681,2683,2686,2688,2690,2692,2695,2697,2699,2701,2703,2705,2707],{"class":573,"line":871},[571,2675,2034],{"class":587},[571,2677,2678],{"class":597},".pointerUp(",[571,2680,2643],{"class":653},[571,2682,604],{"class":597},[571,2684,2685],{"class":653}," 4.0f",[571,2687,604],{"class":597},[571,2689,2610],{"class":597},[571,2691,2613],{"class":597},[571,2693,2694],{"class":653}," .5f",[571,2696,604],{"class":597},[571,2698,2621],{"class":587},[571,2700,1644],{"class":597},[571,2702,2626],{"class":587},[571,2704,604],{"class":597},[571,2706,2631],{"class":653},[571,2708,610],{"class":597},[621,2710,2711],{"color":623},[513,2712,2713,2714,2717],{},"You can call ",[517,2715,2716],{},"pointerCancel()"," to have the editor drop and ignore an ongoing event sequence.",[509,2719,2720],{"v-slot:swift":511},[563,2721,2723],{"className":639,"code":2722,"language":641,"meta":511,"style":511},"editor.pointerDown(point: CGPoint(x: 0.0, y: 0.0), timestamp: Int64((Date().timeIntervalSince1970 * 1000.0).rounded()), force: 0.7, type: IINKPointerType.pen, pointerId: 0)\n\neditor.pointerMove(point: CGPoint(x: 1.4, y: 2.4), timestamp: Int64((Date().timeIntervalSince1970 * 1000.0).rounded()), force: 0.6, type: IINKPointerType.pen, pointerId: 0)\n\neditor.pointerUp(point: CGPoint(x: 2.4, y: 4.0), timestamp: Int64((Date().timeIntervalSince1970 * 1000.0).rounded()), force: 0.5, type: IINKPointerType.pen, pointerId: 0)\n",[517,2724,2725,2780,2784,2826,2830],{"__ignoreMap":511},[571,2726,2727,2730,2733,2736,2739,2741,2744,2748,2751,2754,2757,2760,2763,2766,2769,2772,2775,2778],{"class":573,"line":574},[571,2728,2729],{"class":587},"editor.",[571,2731,2732],{"class":597},"pointerDown(point: CGPoint(x: ",[571,2734,2735],{"class":653},"0.0",[571,2737,2738],{"class":597},", y: ",[571,2740,2735],{"class":653},[571,2742,2743],{"class":597},"), timestamp: ",[571,2745,2747],{"class":2746},"stZ3G","Int64",[571,2749,2750],{"class":597},"((Date().",[571,2752,2753],{"class":587},"timeIntervalSince1970",[571,2755,2756],{"class":584}," *",[571,2758,2759],{"class":653}," 1000.0",[571,2761,2762],{"class":597},").rounded()), force: ",[571,2764,2765],{"class":653},"0.7",[571,2767,2768],{"class":597},", type: IINKPointerType.",[571,2770,2771],{"class":587},"pen",[571,2773,2774],{"class":597},", pointerId: ",[571,2776,2777],{"class":653},"0",[571,2779,1231],{"class":597},[571,2781,2782],{"class":573,"line":581},[571,2783,875],{"emptyLinePlaceholder":874},[571,2785,2786,2788,2791,2794,2796,2799,2801,2803,2805,2807,2809,2811,2813,2816,2818,2820,2822,2824],{"class":573,"line":871},[571,2787,2729],{"class":587},[571,2789,2790],{"class":597},"pointerMove(point: CGPoint(x: ",[571,2792,2793],{"class":653},"1.4",[571,2795,2738],{"class":597},[571,2797,2798],{"class":653},"2.4",[571,2800,2743],{"class":597},[571,2802,2747],{"class":2746},[571,2804,2750],{"class":597},[571,2806,2753],{"class":587},[571,2808,2756],{"class":584},[571,2810,2759],{"class":653},[571,2812,2762],{"class":597},[571,2814,2815],{"class":653},"0.6",[571,2817,2768],{"class":597},[571,2819,2771],{"class":587},[571,2821,2774],{"class":597},[571,2823,2777],{"class":653},[571,2825,1231],{"class":597},[571,2827,2828],{"class":573,"line":878},[571,2829,875],{"emptyLinePlaceholder":874},[571,2831,2832,2834,2837,2839,2841,2844,2846,2848,2850,2852,2854,2856,2858,2861,2863,2865,2867,2869],{"class":573,"line":884},[571,2833,2729],{"class":587},[571,2835,2836],{"class":597},"pointerUp(point: CGPoint(x: ",[571,2838,2798],{"class":653},[571,2840,2738],{"class":597},[571,2842,2843],{"class":653},"4.0",[571,2845,2743],{"class":597},[571,2847,2747],{"class":2746},[571,2849,2750],{"class":597},[571,2851,2753],{"class":587},[571,2853,2756],{"class":584},[571,2855,2759],{"class":653},[571,2857,2762],{"class":597},[571,2859,2860],{"class":653},"0.5",[571,2862,2768],{"class":597},[571,2864,2771],{"class":587},[571,2866,2774],{"class":597},[571,2868,2777],{"class":653},[571,2870,1231],{"class":597},[509,2872,2873,2985],{"v-slot:cpp":511},[563,2874,2876],{"className":681,"code":2875,"language":683,"meta":511,"style":511},"editor->pointerDown(0.f, 0.f, currentTime(), .7f, PointerType::PEN, 1);\neditor->pointerMove(1.f, 2.f, currentTime(), .6f, PointerType::PEN, 1);\neditor->pointerUp(2.f, 4.f, currentTime(), .5f, PointerType::PEN, 1);\n",[517,2877,2878,2915,2950],{"__ignoreMap":511},[571,2879,2880,2882,2885,2888,2890,2893,2895,2898,2900,2902,2904,2907,2909,2911,2913],{"class":573,"line":574},[571,2881,2034],{"class":587},[571,2883,2884],{"class":597},"->pointerDown(",[571,2886,2887],{"class":653},"0.f",[571,2889,604],{"class":597},[571,2891,2892],{"class":653}," 0.f",[571,2894,604],{"class":597},[571,2896,2897],{"class":597}," currentTime(),",[571,2899,2616],{"class":653},[571,2901,604],{"class":597},[571,2903,2621],{"class":745},[571,2905,2906],{"class":597},"::",[571,2908,2626],{"class":587},[571,2910,604],{"class":597},[571,2912,2631],{"class":653},[571,2914,610],{"class":597},[571,2916,2917,2919,2922,2925,2927,2930,2932,2934,2936,2938,2940,2942,2944,2946,2948],{"class":573,"line":581},[571,2918,2034],{"class":587},[571,2920,2921],{"class":597},"->pointerMove(",[571,2923,2924],{"class":653},"1.f",[571,2926,604],{"class":597},[571,2928,2929],{"class":653}," 2.f",[571,2931,604],{"class":597},[571,2933,2897],{"class":597},[571,2935,2657],{"class":653},[571,2937,604],{"class":597},[571,2939,2621],{"class":745},[571,2941,2906],{"class":597},[571,2943,2626],{"class":587},[571,2945,604],{"class":597},[571,2947,2631],{"class":653},[571,2949,610],{"class":597},[571,2951,2952,2954,2957,2960,2962,2965,2967,2969,2971,2973,2975,2977,2979,2981,2983],{"class":573,"line":871},[571,2953,2034],{"class":587},[571,2955,2956],{"class":597},"->pointerUp(",[571,2958,2959],{"class":653},"2.f",[571,2961,604],{"class":597},[571,2963,2964],{"class":653}," 4.f",[571,2966,604],{"class":597},[571,2968,2897],{"class":597},[571,2970,2694],{"class":653},[571,2972,604],{"class":597},[571,2974,2621],{"class":745},[571,2976,2906],{"class":597},[571,2978,2626],{"class":587},[571,2980,604],{"class":597},[571,2982,2631],{"class":653},[571,2984,610],{"class":597},[621,2986,2987],{"color":623},[513,2988,2713,2989,2717],{},[517,2990,2716],{},[509,2992,2993,3098],{"v-slot:csharp":511},[563,2994,2996],{"className":728,"code":2995,"language":730,"meta":511,"style":511},"editor.PointerDown(0.0f, 0.0f, CurrentTime(), .7f, PointerType.PEN, 1);\neditor.PointerMove(2.4f, 2.4f, CurrentTime(), .6f, PointerType.PEN, 1);\neditor.PointerUp(2.4f, 4.0f, CurrentTime(), .5f, PointerType.PEN, 1);\n",[517,2997,2998,3032,3065],{"__ignoreMap":511},[571,2999,3000,3002,3005,3007,3009,3011,3013,3016,3018,3020,3022,3024,3026,3028,3030],{"class":573,"line":574},[571,3001,2034],{"class":587},[571,3003,3004],{"class":597},".PointerDown(",[571,3006,2600],{"class":653},[571,3008,604],{"class":597},[571,3010,2605],{"class":653},[571,3012,604],{"class":597},[571,3014,3015],{"class":597}," CurrentTime(),",[571,3017,2616],{"class":653},[571,3019,604],{"class":597},[571,3021,2621],{"class":587},[571,3023,1644],{"class":597},[571,3025,2626],{"class":587},[571,3027,604],{"class":597},[571,3029,2631],{"class":653},[571,3031,610],{"class":597},[571,3033,3034,3036,3039,3041,3043,3045,3047,3049,3051,3053,3055,3057,3059,3061,3063],{"class":573,"line":581},[571,3035,2034],{"class":587},[571,3037,3038],{"class":597},".PointerMove(",[571,3040,2643],{"class":653},[571,3042,604],{"class":597},[571,3044,2648],{"class":653},[571,3046,604],{"class":597},[571,3048,3015],{"class":597},[571,3050,2657],{"class":653},[571,3052,604],{"class":597},[571,3054,2621],{"class":587},[571,3056,1644],{"class":597},[571,3058,2626],{"class":587},[571,3060,604],{"class":597},[571,3062,2631],{"class":653},[571,3064,610],{"class":597},[571,3066,3067,3069,3072,3074,3076,3078,3080,3082,3084,3086,3088,3090,3092,3094,3096],{"class":573,"line":871},[571,3068,2034],{"class":587},[571,3070,3071],{"class":597},".PointerUp(",[571,3073,2643],{"class":653},[571,3075,604],{"class":597},[571,3077,2685],{"class":653},[571,3079,604],{"class":597},[571,3081,3015],{"class":597},[571,3083,2694],{"class":653},[571,3085,604],{"class":597},[571,3087,2621],{"class":587},[571,3089,1644],{"class":597},[571,3091,2626],{"class":587},[571,3093,604],{"class":597},[571,3095,2631],{"class":653},[571,3097,610],{"class":597},[621,3099,3100],{"color":623},[513,3101,2713,3102,2717],{},[517,3103,3104],{},"PointerCancel()",[513,3106,3107],{},"Remarks:",[2415,3109,3110,3130,3138,3146],{},[2418,3111,3112,3113,3117,3118,3120,3121,3124,3125,3129],{},"The pointer events are analyzed and interpreted according to ",[615,3114,3116],{"href":3115},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Ftool-controller#mapping-pointer-types-to-tools","the tool"," that is currently associated to the pointer type:\nwhen using the ",[517,3119,2626],{}," tool, iink SDK triggers the recognition, with the ",[517,3122,3123],{},"SELECTOR"," tool iink SDK determines a ",[615,3126,3128],{"href":3127},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Fblock-selection-management#selection-and-block-objects","selection",", etc.",[2418,3131,3132,3133,3137],{},"The timestamp is typically the time in ms since Jan 1",[3134,3135,3136],"up",{},"st",", 1970.\nYou can set it to -1 to let iink SDK generate one for you based on the current time of the system.",[2418,3139,3140,3141,3145],{},"The pressure information is stored in the model and can be retrieved at ",[615,3142,3144],{"href":3143},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fimport-and-export","export"," or when implementing your own inking.\nIf you don't have or need this information, you can set it to 1.",[2418,3147,3148],{},"If you only have one pointer simultaneously active, you can pass a pointer id of -1.",[513,3150,3151],{},"In the most simple case, you can write something like:",[506,3153,3154,3326,3433,3578],{},[509,3155,3156],{"v-slot:java":511},[563,3157,3159],{"className":565,"code":3158,"language":567,"meta":511,"style":511},"final long NO_TIMESTAMP = -1;\nfinal float NO_PRESSURE = 1.0f;\nfinal int NO_POINTER_ID = -1;\n\neditor.pointerDown(0.0f, 0.0f, NO_TIMESTAMP, NO_PRESSURE, PointerType.PEN, NO_POINTER_ID);\neditor.pointerMove(2.4f, 2.4f, NO_TIMESTAMP, NO_PRESSURE, PointerType.PEN, NO_POINTER_ID);\neditor.pointerUp(2.4f, 4.0f, NO_TIMESTAMP, NO_PRESSURE, PointerType.PEN, NO_POINTER_ID);\n",[517,3160,3161,3182,3199,3217,3221,3258,3292],{"__ignoreMap":511},[571,3162,3163,3166,3169,3172,3174,3177,3180],{"class":573,"line":574},[571,3164,3165],{"class":584},"final",[571,3167,3168],{"class":584}," long",[571,3170,3171],{"class":587}," NO_TIMESTAMP ",[571,3173,591],{"class":584},[571,3175,3176],{"class":584}," -",[571,3178,3179],{"class":653},"1",[571,3181,1649],{"class":597},[571,3183,3184,3186,3189,3192,3194,3197],{"class":573,"line":581},[571,3185,3165],{"class":584},[571,3187,3188],{"class":584}," float",[571,3190,3191],{"class":587}," NO_PRESSURE ",[571,3193,591],{"class":584},[571,3195,3196],{"class":653}," 1.0f",[571,3198,1649],{"class":597},[571,3200,3201,3203,3206,3209,3211,3213,3215],{"class":573,"line":871},[571,3202,3165],{"class":584},[571,3204,3205],{"class":584}," int",[571,3207,3208],{"class":587}," NO_POINTER_ID ",[571,3210,591],{"class":584},[571,3212,3176],{"class":584},[571,3214,3179],{"class":653},[571,3216,1649],{"class":597},[571,3218,3219],{"class":573,"line":878},[571,3220,875],{"emptyLinePlaceholder":874},[571,3222,3223,3225,3227,3229,3231,3233,3235,3238,3240,3243,3245,3247,3249,3251,3253,3256],{"class":573,"line":884},[571,3224,2034],{"class":587},[571,3226,2597],{"class":597},[571,3228,2600],{"class":653},[571,3230,604],{"class":597},[571,3232,2605],{"class":653},[571,3234,604],{"class":597},[571,3236,3237],{"class":587}," NO_TIMESTAMP",[571,3239,604],{"class":597},[571,3241,3242],{"class":587}," NO_PRESSURE",[571,3244,604],{"class":597},[571,3246,2621],{"class":587},[571,3248,1644],{"class":597},[571,3250,2626],{"class":587},[571,3252,604],{"class":597},[571,3254,3255],{"class":587}," NO_POINTER_ID",[571,3257,610],{"class":597},[571,3259,3260,3262,3264,3266,3268,3270,3272,3274,3276,3278,3280,3282,3284,3286,3288,3290],{"class":573,"line":916},[571,3261,2034],{"class":587},[571,3263,2640],{"class":597},[571,3265,2643],{"class":653},[571,3267,604],{"class":597},[571,3269,2648],{"class":653},[571,3271,604],{"class":597},[571,3273,3237],{"class":587},[571,3275,604],{"class":597},[571,3277,3242],{"class":587},[571,3279,604],{"class":597},[571,3281,2621],{"class":587},[571,3283,1644],{"class":597},[571,3285,2626],{"class":587},[571,3287,604],{"class":597},[571,3289,3255],{"class":587},[571,3291,610],{"class":597},[571,3293,3294,3296,3298,3300,3302,3304,3306,3308,3310,3312,3314,3316,3318,3320,3322,3324],{"class":573,"line":941},[571,3295,2034],{"class":587},[571,3297,2678],{"class":597},[571,3299,2643],{"class":653},[571,3301,604],{"class":597},[571,3303,2685],{"class":653},[571,3305,604],{"class":597},[571,3307,3237],{"class":587},[571,3309,604],{"class":597},[571,3311,3242],{"class":587},[571,3313,604],{"class":597},[571,3315,2621],{"class":587},[571,3317,1644],{"class":597},[571,3319,2626],{"class":587},[571,3321,604],{"class":597},[571,3323,3255],{"class":587},[571,3325,610],{"class":597},[509,3327,3328],{"v-slot:swift":511},[563,3329,3331],{"className":639,"code":3330,"language":641,"meta":511,"style":511},"editor.pointerDown(point: CGPoint(x: 0.0, y: 0.0), timestamp: -1, force: 0, type: IINKPointerType.pen, pointerId: 0)\n\neditor.pointerMove(point: CGPoint(x: 1.4, y: 2.4), timestamp: -1, force: 0, type: IINKPointerType.pen, pointerId: 0)\n\neditor.pointerUp(point: CGPoint(x: 2.4, y: 4.0), timestamp: -1, force: 0, type: IINKPointerType.pen, pointerId: 0)\n",[517,3332,3333,3365,3369,3399,3403],{"__ignoreMap":511},[571,3334,3335,3337,3339,3341,3343,3345,3347,3350,3353,3355,3357,3359,3361,3363],{"class":573,"line":574},[571,3336,2729],{"class":587},[571,3338,2732],{"class":597},[571,3340,2735],{"class":653},[571,3342,2738],{"class":597},[571,3344,2735],{"class":653},[571,3346,2743],{"class":597},[571,3348,3349],{"class":653},"-1",[571,3351,3352],{"class":597},", force: ",[571,3354,2777],{"class":653},[571,3356,2768],{"class":597},[571,3358,2771],{"class":587},[571,3360,2774],{"class":597},[571,3362,2777],{"class":653},[571,3364,1231],{"class":597},[571,3366,3367],{"class":573,"line":581},[571,3368,875],{"emptyLinePlaceholder":874},[571,3370,3371,3373,3375,3377,3379,3381,3383,3385,3387,3389,3391,3393,3395,3397],{"class":573,"line":871},[571,3372,2729],{"class":587},[571,3374,2790],{"class":597},[571,3376,2793],{"class":653},[571,3378,2738],{"class":597},[571,3380,2798],{"class":653},[571,3382,2743],{"class":597},[571,3384,3349],{"class":653},[571,3386,3352],{"class":597},[571,3388,2777],{"class":653},[571,3390,2768],{"class":597},[571,3392,2771],{"class":587},[571,3394,2774],{"class":597},[571,3396,2777],{"class":653},[571,3398,1231],{"class":597},[571,3400,3401],{"class":573,"line":878},[571,3402,875],{"emptyLinePlaceholder":874},[571,3404,3405,3407,3409,3411,3413,3415,3417,3419,3421,3423,3425,3427,3429,3431],{"class":573,"line":884},[571,3406,2729],{"class":587},[571,3408,2836],{"class":597},[571,3410,2798],{"class":653},[571,3412,2738],{"class":597},[571,3414,2843],{"class":653},[571,3416,2743],{"class":597},[571,3418,3349],{"class":653},[571,3420,3352],{"class":597},[571,3422,2777],{"class":653},[571,3424,2768],{"class":597},[571,3426,2771],{"class":587},[571,3428,2774],{"class":597},[571,3430,2777],{"class":653},[571,3432,1231],{"class":597},[509,3434,3435],{"v-slot:cpp":511},[563,3436,3438],{"className":681,"code":3437,"language":683,"meta":511,"style":511},"#define NO_TIMESTAMP  -1\n#define NO_PRESSURE   1.f\n#define NO_POINTER_ID -1\n\neditor->pointerDown(0.f, 0.f, NO_TIMESTAMP, NO_PRESSURE, PointerType::PEN, NO_POINTER_ID);\neditor->pointerMove(1.f, 2.f, NO_TIMESTAMP, NO_PRESSURE, PointerType::PEN, NO_POINTER_ID);\neditor->pointerUp(2.f, 4.f, NO_TIMESTAMP, NO_PRESSURE, PointerType::PEN, NO_POINTER_ID);\n",[517,3439,3440,3453,3462,3472,3476,3510,3544],{"__ignoreMap":511},[571,3441,3442,3445,3447,3450],{"class":573,"line":574},[571,3443,3444],{"class":597},"#define",[571,3446,3237],{"class":597},[571,3448,3449],{"class":584},"  -",[571,3451,3452],{"class":653},"1\n",[571,3454,3455,3457,3459],{"class":573,"line":581},[571,3456,3444],{"class":597},[571,3458,3242],{"class":597},[571,3460,3461],{"class":653},"   1.f\n",[571,3463,3464,3466,3468,3470],{"class":573,"line":871},[571,3465,3444],{"class":597},[571,3467,3255],{"class":597},[571,3469,3176],{"class":584},[571,3471,3452],{"class":653},[571,3473,3474],{"class":573,"line":878},[571,3475,875],{"emptyLinePlaceholder":874},[571,3477,3478,3480,3482,3484,3486,3488,3490,3492,3494,3496,3498,3500,3502,3504,3506,3508],{"class":573,"line":884},[571,3479,2034],{"class":587},[571,3481,2884],{"class":597},[571,3483,2887],{"class":653},[571,3485,604],{"class":597},[571,3487,2892],{"class":653},[571,3489,604],{"class":597},[571,3491,3237],{"class":587},[571,3493,604],{"class":597},[571,3495,3242],{"class":587},[571,3497,604],{"class":597},[571,3499,2621],{"class":745},[571,3501,2906],{"class":597},[571,3503,2626],{"class":587},[571,3505,604],{"class":597},[571,3507,3255],{"class":587},[571,3509,610],{"class":597},[571,3511,3512,3514,3516,3518,3520,3522,3524,3526,3528,3530,3532,3534,3536,3538,3540,3542],{"class":573,"line":916},[571,3513,2034],{"class":587},[571,3515,2921],{"class":597},[571,3517,2924],{"class":653},[571,3519,604],{"class":597},[571,3521,2929],{"class":653},[571,3523,604],{"class":597},[571,3525,3237],{"class":587},[571,3527,604],{"class":597},[571,3529,3242],{"class":587},[571,3531,604],{"class":597},[571,3533,2621],{"class":745},[571,3535,2906],{"class":597},[571,3537,2626],{"class":587},[571,3539,604],{"class":597},[571,3541,3255],{"class":587},[571,3543,610],{"class":597},[571,3545,3546,3548,3550,3552,3554,3556,3558,3560,3562,3564,3566,3568,3570,3572,3574,3576],{"class":573,"line":941},[571,3547,2034],{"class":587},[571,3549,2956],{"class":597},[571,3551,2959],{"class":653},[571,3553,604],{"class":597},[571,3555,2964],{"class":653},[571,3557,604],{"class":597},[571,3559,3237],{"class":587},[571,3561,604],{"class":597},[571,3563,3242],{"class":587},[571,3565,604],{"class":597},[571,3567,2621],{"class":745},[571,3569,2906],{"class":597},[571,3571,2626],{"class":587},[571,3573,604],{"class":597},[571,3575,3255],{"class":587},[571,3577,610],{"class":597},[509,3579,3580],{"v-slot:csharp":511},[563,3581,3583],{"className":728,"code":3582,"language":730,"meta":511,"style":511},"const long NO_TIMESTAMP = -1;\nconst float NO_PRESSURE = 1.0f;\nconst int NO_POINTER_ID = -1;\n\neditor.PointerDown(0.0f, 0.0f, NO_TIMESTAMP, NO_PRESSURE, PointerType.PEN, NO_POINTER_ID);\neditor.PointerMove(2.4f, 2.4f, NO_TIMESTAMP, NO_PRESSURE, PointerType.PEN, NO_POINTER_ID);\neditor.PointerUp(2.4f, 4.0f, NO_TIMESTAMP, NO_PRESSURE, PointerType.PEN, NO_POINTER_ID);\n",[517,3584,3585,3602,3616,3632,3636,3670,3704],{"__ignoreMap":511},[571,3586,3587,3590,3592,3594,3596,3598,3600],{"class":573,"line":574},[571,3588,3589],{"class":584},"const",[571,3591,3168],{"class":584},[571,3593,3237],{"class":745},[571,3595,749],{"class":584},[571,3597,3176],{"class":584},[571,3599,3179],{"class":653},[571,3601,1649],{"class":597},[571,3603,3604,3606,3608,3610,3612,3614],{"class":573,"line":581},[571,3605,3589],{"class":584},[571,3607,3188],{"class":584},[571,3609,3242],{"class":745},[571,3611,749],{"class":584},[571,3613,3196],{"class":653},[571,3615,1649],{"class":597},[571,3617,3618,3620,3622,3624,3626,3628,3630],{"class":573,"line":871},[571,3619,3589],{"class":584},[571,3621,3205],{"class":584},[571,3623,3255],{"class":745},[571,3625,749],{"class":584},[571,3627,3176],{"class":584},[571,3629,3179],{"class":653},[571,3631,1649],{"class":597},[571,3633,3634],{"class":573,"line":878},[571,3635,875],{"emptyLinePlaceholder":874},[571,3637,3638,3640,3642,3644,3646,3648,3650,3652,3654,3656,3658,3660,3662,3664,3666,3668],{"class":573,"line":884},[571,3639,2034],{"class":587},[571,3641,3004],{"class":597},[571,3643,2600],{"class":653},[571,3645,604],{"class":597},[571,3647,2605],{"class":653},[571,3649,604],{"class":597},[571,3651,3237],{"class":587},[571,3653,604],{"class":597},[571,3655,3242],{"class":587},[571,3657,604],{"class":597},[571,3659,2621],{"class":587},[571,3661,1644],{"class":597},[571,3663,2626],{"class":587},[571,3665,604],{"class":597},[571,3667,3255],{"class":587},[571,3669,610],{"class":597},[571,3671,3672,3674,3676,3678,3680,3682,3684,3686,3688,3690,3692,3694,3696,3698,3700,3702],{"class":573,"line":916},[571,3673,2034],{"class":587},[571,3675,3038],{"class":597},[571,3677,2643],{"class":653},[571,3679,604],{"class":597},[571,3681,2648],{"class":653},[571,3683,604],{"class":597},[571,3685,3237],{"class":587},[571,3687,604],{"class":597},[571,3689,3242],{"class":587},[571,3691,604],{"class":597},[571,3693,2621],{"class":587},[571,3695,1644],{"class":597},[571,3697,2626],{"class":587},[571,3699,604],{"class":597},[571,3701,3255],{"class":587},[571,3703,610],{"class":597},[571,3705,3706,3708,3710,3712,3714,3716,3718,3720,3722,3724,3726,3728,3730,3732,3734,3736],{"class":573,"line":941},[571,3707,2034],{"class":587},[571,3709,3071],{"class":597},[571,3711,2643],{"class":653},[571,3713,604],{"class":597},[571,3715,2685],{"class":653},[571,3717,604],{"class":597},[571,3719,3237],{"class":587},[571,3721,604],{"class":597},[571,3723,3242],{"class":587},[571,3725,604],{"class":597},[571,3727,2621],{"class":587},[571,3729,1644],{"class":597},[571,3731,2626],{"class":587},[571,3733,604],{"class":597},[571,3735,3255],{"class":587},[571,3737,610],{"class":597},[513,3739,3740],{},"The same methods exist with two additional parameters:",[2415,3742,3743,3749],{},[2418,3744,3745,3748],{},[517,3746,3747],{},"tilt"," - the tilt angle to the screen in radians. Angles are between 0 and π\u002F2 radians, where 0 is perpendicular to the screen, π\u002F2 is flat on screen.",[2418,3750,3751,3754],{},[517,3752,3753],{},"orientation"," - the orientation azimuth in radians, where 0 is pointing up, -π\u002F2 radians is pointing left, -π  or π is pointing down, and π\u002F2 radians is pointing right.",[513,3756,3757,3758,1644],{},"If available, tilt, orientation, and pressure data are used by the renderer, which adjusts the stroke according to the styling properties. For more details, refer to ",[615,3759,3761],{"href":3760},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Frendering#applying-pressure-tilt-and-orientation-effects-to-rendered-strokes","the Renderer section",[532,3763,3765],{"id":3764},"series-of-events","Series of events",[513,3767,3768],{},"In some cases, you may want to send a set of strokes to the engine in a single pass, for instance if you import ink from outside of the iink\nmodel that you want to process as a single batch.",[506,3770,3771,3784,3794,3803],{},[509,3772,3773],{"v-slot:swift":511},[513,3774,3775,3776,3779,3780,3783],{},"For all types of parts but \"Text Document\", iink SDK provides a method to input in a single pass a series of pointer events, ",[517,3777,3778],{},"pointerEvents:",",\nthat take in parameter an array of ",[517,3781,3782],{},"IINKPointerEvent"," objects.",[509,3785,3786],{"v-slot:csharp":511},[513,3787,3775,3788,3779,3791,3783],{},[517,3789,3790],{},"PointerEvents()",[517,3792,3793],{},"PointerEvent",[509,3795,3796],{"v-slot:java":511},[513,3797,3775,3798,3779,3801,3783],{},[517,3799,3800],{},"pointerEvents()",[517,3802,3793],{},[509,3804,3805],{"v-slot:cpp":511},[513,3806,3775,3807,3779,3809,3783],{},[517,3808,3800],{},[517,3810,3793],{},[513,3812,3813],{},"Here is an example:",[506,3815,3816,4342,5234,5858],{},[509,3817,3818,4321],{"v-slot:java":511},[563,3819,3821],{"className":565,"code":3820,"language":567,"meta":511,"style":511},"ArrayList\u003CPointerEvent> events = new ArrayList\u003CPointerEvent>();\n\n\u002F\u002F Stroke 1\nevents.add(new PointerEvent().down(184.f, 124.f));\nevents.add(new PointerEvent().move(184.f, 125.f));\nevents.add(new PointerEvent().move(184.f, 128.f));\nevents.add(new PointerEvent().move(184.f, 133.f));\nevents.add(new PointerEvent().move(184.f, 152.f));\nevents.add(new PointerEvent().move(184.f, 158.f));\nevents.add(new PointerEvent().move(184.f, 163.f));\nevents.add(new PointerEvent().move(183.f, 167.f));\nevents.add(new PointerEvent().move(183.f, 174.f));\nevents.add(new PointerEvent().move(183.f, 183.f));\nevents.add(new PointerEvent().up(183.f, 184.f));\n\n\u002F\u002F Stroke 2\nevents.add(new PointerEvent().down(150.f, 126.f));\nevents.add(new PointerEvent().move(151.f, 126.f));\nevents.add(new PointerEvent().move(152.f, 126.f));\nevents.add(new PointerEvent().move(158.f, 126.f));\nevents.add(new PointerEvent().move(166.f, 126.f));\nevents.add(new PointerEvent().move(184.f, 126.f));\nevents.add(new PointerEvent().move(190.f, 128.f));\nevents.add(new PointerEvent().move(196.f, 128.f));\nevents.add(new PointerEvent().move(200.f, 128.f));\nevents.add(new PointerEvent().move(207.f, 128.f));\nevents.add(new PointerEvent().move(208.f, 128.f));\nevents.add(new PointerEvent().up(209.f, 128.f));\n\n\u002F\u002F Feed the editor\neditor.pointerEvents(events.toArray(new PointerEvent[0]), false);\n",[517,3822,3823,3853,3857,3862,3884,3902,3919,3936,3953,3970,3987,4005,4022,4039,4057,4061,4066,4084,4102,4120,4138,4156,4173,4191,4209,4227,4245,4263,4281,4286,4292],{"__ignoreMap":511},[571,3824,3825,3828,3831,3833,3836,3839,3841,3843,3846,3848,3850],{"class":573,"line":574},[571,3826,3827],{"class":584},"ArrayList",[571,3829,3830],{"class":597},"\u003C",[571,3832,3793],{"class":584},[571,3834,3835],{"class":597},">",[571,3837,3838],{"class":587}," events ",[571,3840,591],{"class":584},[571,3842,2610],{"class":597},[571,3844,3845],{"class":584}," ArrayList",[571,3847,3830],{"class":597},[571,3849,3793],{"class":584},[571,3851,3852],{"class":597},">();\n",[571,3854,3855],{"class":573,"line":581},[571,3856,875],{"emptyLinePlaceholder":874},[571,3858,3859],{"class":573,"line":871},[571,3860,3861],{"class":577},"\u002F\u002F Stroke 1\n",[571,3863,3864,3867,3870,3873,3876,3878,3881],{"class":573,"line":878},[571,3865,3866],{"class":587},"events",[571,3868,3869],{"class":597},".add(new",[571,3871,3872],{"class":597}," PointerEvent().down(",[571,3874,3875],{"class":653},"184.f",[571,3877,604],{"class":597},[571,3879,3880],{"class":653}," 124.f",[571,3882,3883],{"class":597},"));\n",[571,3885,3886,3888,3890,3893,3895,3897,3900],{"class":573,"line":884},[571,3887,3866],{"class":587},[571,3889,3869],{"class":597},[571,3891,3892],{"class":597}," PointerEvent().move(",[571,3894,3875],{"class":653},[571,3896,604],{"class":597},[571,3898,3899],{"class":653}," 125.f",[571,3901,3883],{"class":597},[571,3903,3904,3906,3908,3910,3912,3914,3917],{"class":573,"line":916},[571,3905,3866],{"class":587},[571,3907,3869],{"class":597},[571,3909,3892],{"class":597},[571,3911,3875],{"class":653},[571,3913,604],{"class":597},[571,3915,3916],{"class":653}," 128.f",[571,3918,3883],{"class":597},[571,3920,3921,3923,3925,3927,3929,3931,3934],{"class":573,"line":941},[571,3922,3866],{"class":587},[571,3924,3869],{"class":597},[571,3926,3892],{"class":597},[571,3928,3875],{"class":653},[571,3930,604],{"class":597},[571,3932,3933],{"class":653}," 133.f",[571,3935,3883],{"class":597},[571,3937,3938,3940,3942,3944,3946,3948,3951],{"class":573,"line":968},[571,3939,3866],{"class":587},[571,3941,3869],{"class":597},[571,3943,3892],{"class":597},[571,3945,3875],{"class":653},[571,3947,604],{"class":597},[571,3949,3950],{"class":653}," 152.f",[571,3952,3883],{"class":597},[571,3954,3955,3957,3959,3961,3963,3965,3968],{"class":573,"line":991},[571,3956,3866],{"class":587},[571,3958,3869],{"class":597},[571,3960,3892],{"class":597},[571,3962,3875],{"class":653},[571,3964,604],{"class":597},[571,3966,3967],{"class":653}," 158.f",[571,3969,3883],{"class":597},[571,3971,3972,3974,3976,3978,3980,3982,3985],{"class":573,"line":1013},[571,3973,3866],{"class":587},[571,3975,3869],{"class":597},[571,3977,3892],{"class":597},[571,3979,3875],{"class":653},[571,3981,604],{"class":597},[571,3983,3984],{"class":653}," 163.f",[571,3986,3883],{"class":597},[571,3988,3989,3991,3993,3995,3998,4000,4003],{"class":573,"line":1018},[571,3990,3866],{"class":587},[571,3992,3869],{"class":597},[571,3994,3892],{"class":597},[571,3996,3997],{"class":653},"183.f",[571,3999,604],{"class":597},[571,4001,4002],{"class":653}," 167.f",[571,4004,3883],{"class":597},[571,4006,4007,4009,4011,4013,4015,4017,4020],{"class":573,"line":1024},[571,4008,3866],{"class":587},[571,4010,3869],{"class":597},[571,4012,3892],{"class":597},[571,4014,3997],{"class":653},[571,4016,604],{"class":597},[571,4018,4019],{"class":653}," 174.f",[571,4021,3883],{"class":597},[571,4023,4024,4026,4028,4030,4032,4034,4037],{"class":573,"line":1047},[571,4025,3866],{"class":587},[571,4027,3869],{"class":597},[571,4029,3892],{"class":597},[571,4031,3997],{"class":653},[571,4033,604],{"class":597},[571,4035,4036],{"class":653}," 183.f",[571,4038,3883],{"class":597},[571,4040,4041,4043,4045,4048,4050,4052,4055],{"class":573,"line":1067},[571,4042,3866],{"class":587},[571,4044,3869],{"class":597},[571,4046,4047],{"class":597}," PointerEvent().up(",[571,4049,3997],{"class":653},[571,4051,604],{"class":597},[571,4053,4054],{"class":653}," 184.f",[571,4056,3883],{"class":597},[571,4058,4059],{"class":573,"line":1094},[571,4060,875],{"emptyLinePlaceholder":874},[571,4062,4063],{"class":573,"line":1330},[571,4064,4065],{"class":577},"\u002F\u002F Stroke 2\n",[571,4067,4068,4070,4072,4074,4077,4079,4082],{"class":573,"line":1360},[571,4069,3866],{"class":587},[571,4071,3869],{"class":597},[571,4073,3872],{"class":597},[571,4075,4076],{"class":653},"150.f",[571,4078,604],{"class":597},[571,4080,4081],{"class":653}," 126.f",[571,4083,3883],{"class":597},[571,4085,4087,4089,4091,4093,4096,4098,4100],{"class":573,"line":4086},18,[571,4088,3866],{"class":587},[571,4090,3869],{"class":597},[571,4092,3892],{"class":597},[571,4094,4095],{"class":653},"151.f",[571,4097,604],{"class":597},[571,4099,4081],{"class":653},[571,4101,3883],{"class":597},[571,4103,4105,4107,4109,4111,4114,4116,4118],{"class":573,"line":4104},19,[571,4106,3866],{"class":587},[571,4108,3869],{"class":597},[571,4110,3892],{"class":597},[571,4112,4113],{"class":653},"152.f",[571,4115,604],{"class":597},[571,4117,4081],{"class":653},[571,4119,3883],{"class":597},[571,4121,4123,4125,4127,4129,4132,4134,4136],{"class":573,"line":4122},20,[571,4124,3866],{"class":587},[571,4126,3869],{"class":597},[571,4128,3892],{"class":597},[571,4130,4131],{"class":653},"158.f",[571,4133,604],{"class":597},[571,4135,4081],{"class":653},[571,4137,3883],{"class":597},[571,4139,4141,4143,4145,4147,4150,4152,4154],{"class":573,"line":4140},21,[571,4142,3866],{"class":587},[571,4144,3869],{"class":597},[571,4146,3892],{"class":597},[571,4148,4149],{"class":653},"166.f",[571,4151,604],{"class":597},[571,4153,4081],{"class":653},[571,4155,3883],{"class":597},[571,4157,4159,4161,4163,4165,4167,4169,4171],{"class":573,"line":4158},22,[571,4160,3866],{"class":587},[571,4162,3869],{"class":597},[571,4164,3892],{"class":597},[571,4166,3875],{"class":653},[571,4168,604],{"class":597},[571,4170,4081],{"class":653},[571,4172,3883],{"class":597},[571,4174,4176,4178,4180,4182,4185,4187,4189],{"class":573,"line":4175},23,[571,4177,3866],{"class":587},[571,4179,3869],{"class":597},[571,4181,3892],{"class":597},[571,4183,4184],{"class":653},"190.f",[571,4186,604],{"class":597},[571,4188,3916],{"class":653},[571,4190,3883],{"class":597},[571,4192,4194,4196,4198,4200,4203,4205,4207],{"class":573,"line":4193},24,[571,4195,3866],{"class":587},[571,4197,3869],{"class":597},[571,4199,3892],{"class":597},[571,4201,4202],{"class":653},"196.f",[571,4204,604],{"class":597},[571,4206,3916],{"class":653},[571,4208,3883],{"class":597},[571,4210,4212,4214,4216,4218,4221,4223,4225],{"class":573,"line":4211},25,[571,4213,3866],{"class":587},[571,4215,3869],{"class":597},[571,4217,3892],{"class":597},[571,4219,4220],{"class":653},"200.f",[571,4222,604],{"class":597},[571,4224,3916],{"class":653},[571,4226,3883],{"class":597},[571,4228,4230,4232,4234,4236,4239,4241,4243],{"class":573,"line":4229},26,[571,4231,3866],{"class":587},[571,4233,3869],{"class":597},[571,4235,3892],{"class":597},[571,4237,4238],{"class":653},"207.f",[571,4240,604],{"class":597},[571,4242,3916],{"class":653},[571,4244,3883],{"class":597},[571,4246,4248,4250,4252,4254,4257,4259,4261],{"class":573,"line":4247},27,[571,4249,3866],{"class":587},[571,4251,3869],{"class":597},[571,4253,3892],{"class":597},[571,4255,4256],{"class":653},"208.f",[571,4258,604],{"class":597},[571,4260,3916],{"class":653},[571,4262,3883],{"class":597},[571,4264,4266,4268,4270,4272,4275,4277,4279],{"class":573,"line":4265},28,[571,4267,3866],{"class":587},[571,4269,3869],{"class":597},[571,4271,4047],{"class":597},[571,4273,4274],{"class":653},"209.f",[571,4276,604],{"class":597},[571,4278,3916],{"class":653},[571,4280,3883],{"class":597},[571,4282,4284],{"class":573,"line":4283},29,[571,4285,875],{"emptyLinePlaceholder":874},[571,4287,4289],{"class":573,"line":4288},30,[571,4290,4291],{"class":577},"\u002F\u002F Feed the editor\n",[571,4293,4295,4297,4300,4302,4305,4308,4311,4313,4316,4319],{"class":573,"line":4294},31,[571,4296,2034],{"class":587},[571,4298,4299],{"class":597},".pointerEvents(",[571,4301,3866],{"class":587},[571,4303,4304],{"class":597},".toArray(new",[571,4306,4307],{"class":584}," PointerEvent",[571,4309,4310],{"class":597},"[",[571,4312,2777],{"class":653},[571,4314,4315],{"class":597},"]),",[571,4317,4318],{"class":653}," false",[571,4320,610],{"class":597},[621,4322,4323],{"color":623},[513,4324,4325,4326,4328,4329,4332,4333,4336,4337,4341],{},"When calling ",[517,4327,3800],{}," to process a large quantity of strokes, you should set the ",[517,4330,4331],{},"processGestures"," parameter to ",[517,4334,4335],{},"false"," to\nexplicitly prevent ",[615,4338,4340],{"href":4339},"#edit-and-decoration-gestures","gesture detection"," and allow better performances.",[509,4343,4344],{"v-slot:swift":511},[563,4345,4347],{"className":639,"code":4346,"language":641,"meta":511,"style":511},"\u002F\u002F Build the pointer events array\nlet n = 23;\nvar eventArr:[IINKPointerEvent]=[]\n\n\u002F\u002F Stroke 1\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.down,x: 184, y: 124,t: -1, f: 0, pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent( eventType: IINKPointerEventType.move,x: 184, y: 125,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move,x: 184, y: 128,t: -1, f: 0, pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move,x: 184, y: 133,t: -1, f: 0, pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move,x: 184, y: 152,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1 ))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move,x: 184, y: 158,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1 ))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move,x: 184, y: 163,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1 ))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move,x: 183, y: 167,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1 ))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move,x: 183, y: 174,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1 ))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move,x: 183, y: 183,t: -1, f: 0, pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.up,x: 183, y: 184,t: -1, f: 0, pointerType: IINKPointerType.pen , pointerId: 1))\n\n\u002F\u002F Stroke 2\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.down, x: 150, y: 126,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1 ))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move, x: 151, y: 126,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1 ))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move, x: 152, y: 126,t: -1, f: 0, pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move, x: 158, y: 126,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move, x: 166, y: 126,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move, x: 184, y: 126,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move, x: 190, y: 128,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move, x: 196, y: 128,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move, x: 200, y: 128,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move, x: 207, y: 128,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.move, x: 208, y: 128,t: -1, f: 0,pointerType: IINKPointerType.pen , pointerId: 1))\neventArr.append(IINKPointerEvent(eventType: IINKPointerEventType.up,x: 209, y: 128,t: -1, f: 0, pointerType: IINKPointerType.pen , pointerId: 1 ))\n\n\u002F\u002Fprovide the pointer events to the editor\neditor.pointerEvents(&eventArr, count: n, doProcessGestures: false)\n",[517,4348,4349,4354,4368,4387,4391,4395,4434,4473,4509,4544,4580,4615,4650,4686,4721,4755,4786,4790,4794,4827,4863,4897,4931,4966,5000,5035,5070,5105,5140,5175,5206,5210,5216],{"__ignoreMap":511},[571,4350,4351],{"class":573,"line":574},[571,4352,4353],{"class":577},"\u002F\u002F Build the pointer events array\n",[571,4355,4356,4358,4361,4363,4366],{"class":573,"line":581},[571,4357,654],{"class":653},[571,4359,4360],{"class":587}," n ",[571,4362,591],{"class":584},[571,4364,4365],{"class":653}," 23",[571,4367,1649],{"class":587},[571,4369,4370,4372,4375,4377,4379,4382,4384],{"class":573,"line":871},[571,4371,742],{"class":653},[571,4373,4374],{"class":587}," eventArr:",[571,4376,4310],{"class":597},[571,4378,3782],{"class":587},[571,4380,4381],{"class":597},"]",[571,4383,591],{"class":584},[571,4385,4386],{"class":587},"[]\n",[571,4388,4389],{"class":573,"line":878},[571,4390,875],{"emptyLinePlaceholder":874},[571,4392,4393],{"class":573,"line":884},[571,4394,3861],{"class":577},[571,4396,4397,4400,4403,4406,4408,4411,4414,4416,4419,4421,4424,4426,4429,4431],{"class":573,"line":916},[571,4398,4399],{"class":587},"eventArr.",[571,4401,4402],{"class":597},"append(IINKPointerEvent(eventType: IINKPointerEventType.down,x: ",[571,4404,4405],{"class":653},"184",[571,4407,2738],{"class":597},[571,4409,4410],{"class":653},"124",[571,4412,4413],{"class":597},",t: ",[571,4415,3349],{"class":653},[571,4417,4418],{"class":597},", f: ",[571,4420,2777],{"class":653},[571,4422,4423],{"class":597},", pointerType: IINKPointerType.",[571,4425,2771],{"class":587},[571,4427,4428],{"class":597}," , pointerId: ",[571,4430,3179],{"class":653},[571,4432,4433],{"class":597},"))\n",[571,4435,4436,4438,4441,4444,4447,4449,4451,4454,4456,4458,4460,4462,4465,4467,4469,4471],{"class":573,"line":941},[571,4437,4399],{"class":587},[571,4439,4440],{"class":597},"append(IINKPointerEvent( eventType: IINKPointerEventType.",[571,4442,4443],{"class":587},"move",[571,4445,4446],{"class":597},",x: ",[571,4448,4405],{"class":653},[571,4450,2738],{"class":597},[571,4452,4453],{"class":653},"125",[571,4455,4413],{"class":597},[571,4457,3349],{"class":653},[571,4459,4418],{"class":597},[571,4461,2777],{"class":653},[571,4463,4464],{"class":597},",pointerType: IINKPointerType.",[571,4466,2771],{"class":587},[571,4468,4428],{"class":597},[571,4470,3179],{"class":653},[571,4472,4433],{"class":597},[571,4474,4475,4477,4480,4482,4484,4486,4488,4491,4493,4495,4497,4499,4501,4503,4505,4507],{"class":573,"line":968},[571,4476,4399],{"class":587},[571,4478,4479],{"class":597},"append(IINKPointerEvent(eventType: IINKPointerEventType.",[571,4481,4443],{"class":587},[571,4483,4446],{"class":597},[571,4485,4405],{"class":653},[571,4487,2738],{"class":597},[571,4489,4490],{"class":653},"128",[571,4492,4413],{"class":597},[571,4494,3349],{"class":653},[571,4496,4418],{"class":597},[571,4498,2777],{"class":653},[571,4500,4423],{"class":597},[571,4502,2771],{"class":587},[571,4504,4428],{"class":597},[571,4506,3179],{"class":653},[571,4508,4433],{"class":597},[571,4510,4511,4513,4515,4517,4519,4521,4523,4526,4528,4530,4532,4534,4536,4538,4540,4542],{"class":573,"line":991},[571,4512,4399],{"class":587},[571,4514,4479],{"class":597},[571,4516,4443],{"class":587},[571,4518,4446],{"class":597},[571,4520,4405],{"class":653},[571,4522,2738],{"class":597},[571,4524,4525],{"class":653},"133",[571,4527,4413],{"class":597},[571,4529,3349],{"class":653},[571,4531,4418],{"class":597},[571,4533,2777],{"class":653},[571,4535,4423],{"class":597},[571,4537,2771],{"class":587},[571,4539,4428],{"class":597},[571,4541,3179],{"class":653},[571,4543,4433],{"class":597},[571,4545,4546,4548,4550,4552,4554,4556,4558,4561,4563,4565,4567,4569,4571,4573,4575,4577],{"class":573,"line":1013},[571,4547,4399],{"class":587},[571,4549,4479],{"class":597},[571,4551,4443],{"class":587},[571,4553,4446],{"class":597},[571,4555,4405],{"class":653},[571,4557,2738],{"class":597},[571,4559,4560],{"class":653},"152",[571,4562,4413],{"class":597},[571,4564,3349],{"class":653},[571,4566,4418],{"class":597},[571,4568,2777],{"class":653},[571,4570,4464],{"class":597},[571,4572,2771],{"class":587},[571,4574,4428],{"class":597},[571,4576,3179],{"class":653},[571,4578,4579],{"class":597}," ))\n",[571,4581,4582,4584,4586,4588,4590,4592,4594,4597,4599,4601,4603,4605,4607,4609,4611,4613],{"class":573,"line":1018},[571,4583,4399],{"class":587},[571,4585,4479],{"class":597},[571,4587,4443],{"class":587},[571,4589,4446],{"class":597},[571,4591,4405],{"class":653},[571,4593,2738],{"class":597},[571,4595,4596],{"class":653},"158",[571,4598,4413],{"class":597},[571,4600,3349],{"class":653},[571,4602,4418],{"class":597},[571,4604,2777],{"class":653},[571,4606,4464],{"class":597},[571,4608,2771],{"class":587},[571,4610,4428],{"class":597},[571,4612,3179],{"class":653},[571,4614,4579],{"class":597},[571,4616,4617,4619,4621,4623,4625,4627,4629,4632,4634,4636,4638,4640,4642,4644,4646,4648],{"class":573,"line":1024},[571,4618,4399],{"class":587},[571,4620,4479],{"class":597},[571,4622,4443],{"class":587},[571,4624,4446],{"class":597},[571,4626,4405],{"class":653},[571,4628,2738],{"class":597},[571,4630,4631],{"class":653},"163",[571,4633,4413],{"class":597},[571,4635,3349],{"class":653},[571,4637,4418],{"class":597},[571,4639,2777],{"class":653},[571,4641,4464],{"class":597},[571,4643,2771],{"class":587},[571,4645,4428],{"class":597},[571,4647,3179],{"class":653},[571,4649,4579],{"class":597},[571,4651,4652,4654,4656,4658,4660,4663,4665,4668,4670,4672,4674,4676,4678,4680,4682,4684],{"class":573,"line":1047},[571,4653,4399],{"class":587},[571,4655,4479],{"class":597},[571,4657,4443],{"class":587},[571,4659,4446],{"class":597},[571,4661,4662],{"class":653},"183",[571,4664,2738],{"class":597},[571,4666,4667],{"class":653},"167",[571,4669,4413],{"class":597},[571,4671,3349],{"class":653},[571,4673,4418],{"class":597},[571,4675,2777],{"class":653},[571,4677,4464],{"class":597},[571,4679,2771],{"class":587},[571,4681,4428],{"class":597},[571,4683,3179],{"class":653},[571,4685,4579],{"class":597},[571,4687,4688,4690,4692,4694,4696,4698,4700,4703,4705,4707,4709,4711,4713,4715,4717,4719],{"class":573,"line":1067},[571,4689,4399],{"class":587},[571,4691,4479],{"class":597},[571,4693,4443],{"class":587},[571,4695,4446],{"class":597},[571,4697,4662],{"class":653},[571,4699,2738],{"class":597},[571,4701,4702],{"class":653},"174",[571,4704,4413],{"class":597},[571,4706,3349],{"class":653},[571,4708,4418],{"class":597},[571,4710,2777],{"class":653},[571,4712,4464],{"class":597},[571,4714,2771],{"class":587},[571,4716,4428],{"class":597},[571,4718,3179],{"class":653},[571,4720,4579],{"class":597},[571,4722,4723,4725,4727,4729,4731,4733,4735,4737,4739,4741,4743,4745,4747,4749,4751,4753],{"class":573,"line":1094},[571,4724,4399],{"class":587},[571,4726,4479],{"class":597},[571,4728,4443],{"class":587},[571,4730,4446],{"class":597},[571,4732,4662],{"class":653},[571,4734,2738],{"class":597},[571,4736,4662],{"class":653},[571,4738,4413],{"class":597},[571,4740,3349],{"class":653},[571,4742,4418],{"class":597},[571,4744,2777],{"class":653},[571,4746,4423],{"class":597},[571,4748,2771],{"class":587},[571,4750,4428],{"class":597},[571,4752,3179],{"class":653},[571,4754,4433],{"class":597},[571,4756,4757,4759,4762,4764,4766,4768,4770,4772,4774,4776,4778,4780,4782,4784],{"class":573,"line":1330},[571,4758,4399],{"class":587},[571,4760,4761],{"class":597},"append(IINKPointerEvent(eventType: IINKPointerEventType.up,x: ",[571,4763,4662],{"class":653},[571,4765,2738],{"class":597},[571,4767,4405],{"class":653},[571,4769,4413],{"class":597},[571,4771,3349],{"class":653},[571,4773,4418],{"class":597},[571,4775,2777],{"class":653},[571,4777,4423],{"class":597},[571,4779,2771],{"class":587},[571,4781,4428],{"class":597},[571,4783,3179],{"class":653},[571,4785,4433],{"class":597},[571,4787,4788],{"class":573,"line":1360},[571,4789,875],{"emptyLinePlaceholder":874},[571,4791,4792],{"class":573,"line":4086},[571,4793,4065],{"class":577},[571,4795,4796,4798,4801,4804,4806,4809,4811,4813,4815,4817,4819,4821,4823,4825],{"class":573,"line":4104},[571,4797,4399],{"class":587},[571,4799,4800],{"class":597},"append(IINKPointerEvent(eventType: IINKPointerEventType.down, x: ",[571,4802,4803],{"class":653},"150",[571,4805,2738],{"class":597},[571,4807,4808],{"class":653},"126",[571,4810,4413],{"class":597},[571,4812,3349],{"class":653},[571,4814,4418],{"class":597},[571,4816,2777],{"class":653},[571,4818,4464],{"class":597},[571,4820,2771],{"class":587},[571,4822,4428],{"class":597},[571,4824,3179],{"class":653},[571,4826,4579],{"class":597},[571,4828,4829,4831,4833,4835,4838,4841,4843,4845,4847,4849,4851,4853,4855,4857,4859,4861],{"class":573,"line":4122},[571,4830,4399],{"class":587},[571,4832,4479],{"class":597},[571,4834,4443],{"class":587},[571,4836,4837],{"class":597},", x: ",[571,4839,4840],{"class":653},"151",[571,4842,2738],{"class":597},[571,4844,4808],{"class":653},[571,4846,4413],{"class":597},[571,4848,3349],{"class":653},[571,4850,4418],{"class":597},[571,4852,2777],{"class":653},[571,4854,4464],{"class":597},[571,4856,2771],{"class":587},[571,4858,4428],{"class":597},[571,4860,3179],{"class":653},[571,4862,4579],{"class":597},[571,4864,4865,4867,4869,4871,4873,4875,4877,4879,4881,4883,4885,4887,4889,4891,4893,4895],{"class":573,"line":4140},[571,4866,4399],{"class":587},[571,4868,4479],{"class":597},[571,4870,4443],{"class":587},[571,4872,4837],{"class":597},[571,4874,4560],{"class":653},[571,4876,2738],{"class":597},[571,4878,4808],{"class":653},[571,4880,4413],{"class":597},[571,4882,3349],{"class":653},[571,4884,4418],{"class":597},[571,4886,2777],{"class":653},[571,4888,4423],{"class":597},[571,4890,2771],{"class":587},[571,4892,4428],{"class":597},[571,4894,3179],{"class":653},[571,4896,4433],{"class":597},[571,4898,4899,4901,4903,4905,4907,4909,4911,4913,4915,4917,4919,4921,4923,4925,4927,4929],{"class":573,"line":4158},[571,4900,4399],{"class":587},[571,4902,4479],{"class":597},[571,4904,4443],{"class":587},[571,4906,4837],{"class":597},[571,4908,4596],{"class":653},[571,4910,2738],{"class":597},[571,4912,4808],{"class":653},[571,4914,4413],{"class":597},[571,4916,3349],{"class":653},[571,4918,4418],{"class":597},[571,4920,2777],{"class":653},[571,4922,4464],{"class":597},[571,4924,2771],{"class":587},[571,4926,4428],{"class":597},[571,4928,3179],{"class":653},[571,4930,4433],{"class":597},[571,4932,4933,4935,4937,4939,4941,4944,4946,4948,4950,4952,4954,4956,4958,4960,4962,4964],{"class":573,"line":4175},[571,4934,4399],{"class":587},[571,4936,4479],{"class":597},[571,4938,4443],{"class":587},[571,4940,4837],{"class":597},[571,4942,4943],{"class":653},"166",[571,4945,2738],{"class":597},[571,4947,4808],{"class":653},[571,4949,4413],{"class":597},[571,4951,3349],{"class":653},[571,4953,4418],{"class":597},[571,4955,2777],{"class":653},[571,4957,4464],{"class":597},[571,4959,2771],{"class":587},[571,4961,4428],{"class":597},[571,4963,3179],{"class":653},[571,4965,4433],{"class":597},[571,4967,4968,4970,4972,4974,4976,4978,4980,4982,4984,4986,4988,4990,4992,4994,4996,4998],{"class":573,"line":4193},[571,4969,4399],{"class":587},[571,4971,4479],{"class":597},[571,4973,4443],{"class":587},[571,4975,4837],{"class":597},[571,4977,4405],{"class":653},[571,4979,2738],{"class":597},[571,4981,4808],{"class":653},[571,4983,4413],{"class":597},[571,4985,3349],{"class":653},[571,4987,4418],{"class":597},[571,4989,2777],{"class":653},[571,4991,4464],{"class":597},[571,4993,2771],{"class":587},[571,4995,4428],{"class":597},[571,4997,3179],{"class":653},[571,4999,4433],{"class":597},[571,5001,5002,5004,5006,5008,5010,5013,5015,5017,5019,5021,5023,5025,5027,5029,5031,5033],{"class":573,"line":4211},[571,5003,4399],{"class":587},[571,5005,4479],{"class":597},[571,5007,4443],{"class":587},[571,5009,4837],{"class":597},[571,5011,5012],{"class":653},"190",[571,5014,2738],{"class":597},[571,5016,4490],{"class":653},[571,5018,4413],{"class":597},[571,5020,3349],{"class":653},[571,5022,4418],{"class":597},[571,5024,2777],{"class":653},[571,5026,4464],{"class":597},[571,5028,2771],{"class":587},[571,5030,4428],{"class":597},[571,5032,3179],{"class":653},[571,5034,4433],{"class":597},[571,5036,5037,5039,5041,5043,5045,5048,5050,5052,5054,5056,5058,5060,5062,5064,5066,5068],{"class":573,"line":4229},[571,5038,4399],{"class":587},[571,5040,4479],{"class":597},[571,5042,4443],{"class":587},[571,5044,4837],{"class":597},[571,5046,5047],{"class":653},"196",[571,5049,2738],{"class":597},[571,5051,4490],{"class":653},[571,5053,4413],{"class":597},[571,5055,3349],{"class":653},[571,5057,4418],{"class":597},[571,5059,2777],{"class":653},[571,5061,4464],{"class":597},[571,5063,2771],{"class":587},[571,5065,4428],{"class":597},[571,5067,3179],{"class":653},[571,5069,4433],{"class":597},[571,5071,5072,5074,5076,5078,5080,5083,5085,5087,5089,5091,5093,5095,5097,5099,5101,5103],{"class":573,"line":4247},[571,5073,4399],{"class":587},[571,5075,4479],{"class":597},[571,5077,4443],{"class":587},[571,5079,4837],{"class":597},[571,5081,5082],{"class":653},"200",[571,5084,2738],{"class":597},[571,5086,4490],{"class":653},[571,5088,4413],{"class":597},[571,5090,3349],{"class":653},[571,5092,4418],{"class":597},[571,5094,2777],{"class":653},[571,5096,4464],{"class":597},[571,5098,2771],{"class":587},[571,5100,4428],{"class":597},[571,5102,3179],{"class":653},[571,5104,4433],{"class":597},[571,5106,5107,5109,5111,5113,5115,5118,5120,5122,5124,5126,5128,5130,5132,5134,5136,5138],{"class":573,"line":4265},[571,5108,4399],{"class":587},[571,5110,4479],{"class":597},[571,5112,4443],{"class":587},[571,5114,4837],{"class":597},[571,5116,5117],{"class":653},"207",[571,5119,2738],{"class":597},[571,5121,4490],{"class":653},[571,5123,4413],{"class":597},[571,5125,3349],{"class":653},[571,5127,4418],{"class":597},[571,5129,2777],{"class":653},[571,5131,4464],{"class":597},[571,5133,2771],{"class":587},[571,5135,4428],{"class":597},[571,5137,3179],{"class":653},[571,5139,4433],{"class":597},[571,5141,5142,5144,5146,5148,5150,5153,5155,5157,5159,5161,5163,5165,5167,5169,5171,5173],{"class":573,"line":4283},[571,5143,4399],{"class":587},[571,5145,4479],{"class":597},[571,5147,4443],{"class":587},[571,5149,4837],{"class":597},[571,5151,5152],{"class":653},"208",[571,5154,2738],{"class":597},[571,5156,4490],{"class":653},[571,5158,4413],{"class":597},[571,5160,3349],{"class":653},[571,5162,4418],{"class":597},[571,5164,2777],{"class":653},[571,5166,4464],{"class":597},[571,5168,2771],{"class":587},[571,5170,4428],{"class":597},[571,5172,3179],{"class":653},[571,5174,4433],{"class":597},[571,5176,5177,5179,5181,5184,5186,5188,5190,5192,5194,5196,5198,5200,5202,5204],{"class":573,"line":4288},[571,5178,4399],{"class":587},[571,5180,4761],{"class":597},[571,5182,5183],{"class":653},"209",[571,5185,2738],{"class":597},[571,5187,4490],{"class":653},[571,5189,4413],{"class":597},[571,5191,3349],{"class":653},[571,5193,4418],{"class":597},[571,5195,2777],{"class":653},[571,5197,4423],{"class":597},[571,5199,2771],{"class":587},[571,5201,4428],{"class":597},[571,5203,3179],{"class":653},[571,5205,4579],{"class":597},[571,5207,5208],{"class":573,"line":4294},[571,5209,875],{"emptyLinePlaceholder":874},[571,5211,5213],{"class":573,"line":5212},32,[571,5214,5215],{"class":577},"\u002F\u002Fprovide the pointer events to the editor\n",[571,5217,5219,5221,5224,5227,5230,5232],{"class":573,"line":5218},33,[571,5220,2729],{"class":587},[571,5222,5223],{"class":597},"pointerEvents(",[571,5225,5226],{"class":584},"&",[571,5228,5229],{"class":597},"eventArr, count: n, doProcessGestures: ",[571,5231,4335],{"class":653},[571,5233,1231],{"class":597},[509,5235,5236,5845],{"v-slot:cpp":511},[563,5237,5239],{"className":681,"code":5238,"language":683,"meta":511,"style":511},"std::vector\u003Cmyscript::iink::PointerEvent> events;\nmyscript::iink::PointerEvent event;\n\n\u002F\u002F Stroke 1\nevent.down(184, 124); events.push_back(event);\nevent.move(184, 125); events.push_back(event);\nevent.move(184, 128); events.push_back(event);\nevent.move(184, 133); events.push_back(event);\nevent.move(184, 152); events.push_back(event);\nevent.move(184, 158); events.push_back(event);\nevent.move(184, 163); events.push_back(event);\nevent.move(183, 167); events.push_back(event);\nevent.move(183, 174); events.push_back(event);\nevent.move(183, 183); events.push_back(event);\nevent.up(183, 184); events.push_back(event);\n\n\u002F\u002F Stroke 2\nevent.down(150, 126); events.push_back(event);\nevent.move(151, 126); events.push_back(event);\nevent.move(152, 126); events.push_back(event);\nevent.move(158, 126); events.push_back(event);\nevent.move(166, 126); events.push_back(event);\nevent.move(184, 126); events.push_back(event);\nevent.move(190, 128); events.push_back(event);\nevent.move(196, 128); events.push_back(event);\nevent.move(200, 128); events.push_back(event);\nevent.move(207, 128); events.push_back(event);\nevent.move(208, 128); events.push_back(event);\nevent.up(209, 128); events.push_back(event);\n\n\u002F\u002F Feed the editor\neditor->pointerEvents(events);\n",[517,5240,5241,5272,5287,5291,5295,5321,5345,5368,5391,5414,5437,5460,5483,5506,5529,5553,5557,5561,5584,5606,5628,5650,5672,5694,5716,5738,5760,5782,5804,5826,5830,5834],{"__ignoreMap":511},[571,5242,5243,5246,5248,5251,5253,5256,5258,5261,5263,5265,5267,5270],{"class":573,"line":574},[571,5244,5245],{"class":745},"std",[571,5247,2906],{"class":597},[571,5249,5250],{"class":587},"vector",[571,5252,3830],{"class":584},[571,5254,5255],{"class":745},"myscript",[571,5257,2906],{"class":597},[571,5259,5260],{"class":745},"iink",[571,5262,2906],{"class":597},[571,5264,3793],{"class":587},[571,5266,3835],{"class":584},[571,5268,5269],{"class":587}," events",[571,5271,1649],{"class":597},[571,5273,5274,5276,5278,5280,5282,5285],{"class":573,"line":581},[571,5275,5255],{"class":745},[571,5277,2906],{"class":597},[571,5279,5260],{"class":745},[571,5281,2906],{"class":597},[571,5283,5284],{"class":587},"PointerEvent event",[571,5286,1649],{"class":597},[571,5288,5289],{"class":573,"line":871},[571,5290,875],{"emptyLinePlaceholder":874},[571,5292,5293],{"class":573,"line":878},[571,5294,3861],{"class":577},[571,5296,5297,5300,5303,5305,5307,5310,5312,5314,5317,5319],{"class":573,"line":884},[571,5298,5299],{"class":587},"event",[571,5301,5302],{"class":597},".down(",[571,5304,4405],{"class":653},[571,5306,604],{"class":597},[571,5308,5309],{"class":653}," 124",[571,5311,910],{"class":597},[571,5313,5269],{"class":587},[571,5315,5316],{"class":597},".push_back(",[571,5318,5299],{"class":587},[571,5320,610],{"class":597},[571,5322,5323,5325,5328,5330,5332,5335,5337,5339,5341,5343],{"class":573,"line":916},[571,5324,5299],{"class":587},[571,5326,5327],{"class":597},".move(",[571,5329,4405],{"class":653},[571,5331,604],{"class":597},[571,5333,5334],{"class":653}," 125",[571,5336,910],{"class":597},[571,5338,5269],{"class":587},[571,5340,5316],{"class":597},[571,5342,5299],{"class":587},[571,5344,610],{"class":597},[571,5346,5347,5349,5351,5353,5355,5358,5360,5362,5364,5366],{"class":573,"line":941},[571,5348,5299],{"class":587},[571,5350,5327],{"class":597},[571,5352,4405],{"class":653},[571,5354,604],{"class":597},[571,5356,5357],{"class":653}," 128",[571,5359,910],{"class":597},[571,5361,5269],{"class":587},[571,5363,5316],{"class":597},[571,5365,5299],{"class":587},[571,5367,610],{"class":597},[571,5369,5370,5372,5374,5376,5378,5381,5383,5385,5387,5389],{"class":573,"line":968},[571,5371,5299],{"class":587},[571,5373,5327],{"class":597},[571,5375,4405],{"class":653},[571,5377,604],{"class":597},[571,5379,5380],{"class":653}," 133",[571,5382,910],{"class":597},[571,5384,5269],{"class":587},[571,5386,5316],{"class":597},[571,5388,5299],{"class":587},[571,5390,610],{"class":597},[571,5392,5393,5395,5397,5399,5401,5404,5406,5408,5410,5412],{"class":573,"line":991},[571,5394,5299],{"class":587},[571,5396,5327],{"class":597},[571,5398,4405],{"class":653},[571,5400,604],{"class":597},[571,5402,5403],{"class":653}," 152",[571,5405,910],{"class":597},[571,5407,5269],{"class":587},[571,5409,5316],{"class":597},[571,5411,5299],{"class":587},[571,5413,610],{"class":597},[571,5415,5416,5418,5420,5422,5424,5427,5429,5431,5433,5435],{"class":573,"line":1013},[571,5417,5299],{"class":587},[571,5419,5327],{"class":597},[571,5421,4405],{"class":653},[571,5423,604],{"class":597},[571,5425,5426],{"class":653}," 158",[571,5428,910],{"class":597},[571,5430,5269],{"class":587},[571,5432,5316],{"class":597},[571,5434,5299],{"class":587},[571,5436,610],{"class":597},[571,5438,5439,5441,5443,5445,5447,5450,5452,5454,5456,5458],{"class":573,"line":1018},[571,5440,5299],{"class":587},[571,5442,5327],{"class":597},[571,5444,4405],{"class":653},[571,5446,604],{"class":597},[571,5448,5449],{"class":653}," 163",[571,5451,910],{"class":597},[571,5453,5269],{"class":587},[571,5455,5316],{"class":597},[571,5457,5299],{"class":587},[571,5459,610],{"class":597},[571,5461,5462,5464,5466,5468,5470,5473,5475,5477,5479,5481],{"class":573,"line":1024},[571,5463,5299],{"class":587},[571,5465,5327],{"class":597},[571,5467,4662],{"class":653},[571,5469,604],{"class":597},[571,5471,5472],{"class":653}," 167",[571,5474,910],{"class":597},[571,5476,5269],{"class":587},[571,5478,5316],{"class":597},[571,5480,5299],{"class":587},[571,5482,610],{"class":597},[571,5484,5485,5487,5489,5491,5493,5496,5498,5500,5502,5504],{"class":573,"line":1047},[571,5486,5299],{"class":587},[571,5488,5327],{"class":597},[571,5490,4662],{"class":653},[571,5492,604],{"class":597},[571,5494,5495],{"class":653}," 174",[571,5497,910],{"class":597},[571,5499,5269],{"class":587},[571,5501,5316],{"class":597},[571,5503,5299],{"class":587},[571,5505,610],{"class":597},[571,5507,5508,5510,5512,5514,5516,5519,5521,5523,5525,5527],{"class":573,"line":1067},[571,5509,5299],{"class":587},[571,5511,5327],{"class":597},[571,5513,4662],{"class":653},[571,5515,604],{"class":597},[571,5517,5518],{"class":653}," 183",[571,5520,910],{"class":597},[571,5522,5269],{"class":587},[571,5524,5316],{"class":597},[571,5526,5299],{"class":587},[571,5528,610],{"class":597},[571,5530,5531,5533,5536,5538,5540,5543,5545,5547,5549,5551],{"class":573,"line":1094},[571,5532,5299],{"class":587},[571,5534,5535],{"class":597},".up(",[571,5537,4662],{"class":653},[571,5539,604],{"class":597},[571,5541,5542],{"class":653}," 184",[571,5544,910],{"class":597},[571,5546,5269],{"class":587},[571,5548,5316],{"class":597},[571,5550,5299],{"class":587},[571,5552,610],{"class":597},[571,5554,5555],{"class":573,"line":1330},[571,5556,875],{"emptyLinePlaceholder":874},[571,5558,5559],{"class":573,"line":1360},[571,5560,4065],{"class":577},[571,5562,5563,5565,5567,5569,5571,5574,5576,5578,5580,5582],{"class":573,"line":4086},[571,5564,5299],{"class":587},[571,5566,5302],{"class":597},[571,5568,4803],{"class":653},[571,5570,604],{"class":597},[571,5572,5573],{"class":653}," 126",[571,5575,910],{"class":597},[571,5577,5269],{"class":587},[571,5579,5316],{"class":597},[571,5581,5299],{"class":587},[571,5583,610],{"class":597},[571,5585,5586,5588,5590,5592,5594,5596,5598,5600,5602,5604],{"class":573,"line":4104},[571,5587,5299],{"class":587},[571,5589,5327],{"class":597},[571,5591,4840],{"class":653},[571,5593,604],{"class":597},[571,5595,5573],{"class":653},[571,5597,910],{"class":597},[571,5599,5269],{"class":587},[571,5601,5316],{"class":597},[571,5603,5299],{"class":587},[571,5605,610],{"class":597},[571,5607,5608,5610,5612,5614,5616,5618,5620,5622,5624,5626],{"class":573,"line":4122},[571,5609,5299],{"class":587},[571,5611,5327],{"class":597},[571,5613,4560],{"class":653},[571,5615,604],{"class":597},[571,5617,5573],{"class":653},[571,5619,910],{"class":597},[571,5621,5269],{"class":587},[571,5623,5316],{"class":597},[571,5625,5299],{"class":587},[571,5627,610],{"class":597},[571,5629,5630,5632,5634,5636,5638,5640,5642,5644,5646,5648],{"class":573,"line":4140},[571,5631,5299],{"class":587},[571,5633,5327],{"class":597},[571,5635,4596],{"class":653},[571,5637,604],{"class":597},[571,5639,5573],{"class":653},[571,5641,910],{"class":597},[571,5643,5269],{"class":587},[571,5645,5316],{"class":597},[571,5647,5299],{"class":587},[571,5649,610],{"class":597},[571,5651,5652,5654,5656,5658,5660,5662,5664,5666,5668,5670],{"class":573,"line":4158},[571,5653,5299],{"class":587},[571,5655,5327],{"class":597},[571,5657,4943],{"class":653},[571,5659,604],{"class":597},[571,5661,5573],{"class":653},[571,5663,910],{"class":597},[571,5665,5269],{"class":587},[571,5667,5316],{"class":597},[571,5669,5299],{"class":587},[571,5671,610],{"class":597},[571,5673,5674,5676,5678,5680,5682,5684,5686,5688,5690,5692],{"class":573,"line":4175},[571,5675,5299],{"class":587},[571,5677,5327],{"class":597},[571,5679,4405],{"class":653},[571,5681,604],{"class":597},[571,5683,5573],{"class":653},[571,5685,910],{"class":597},[571,5687,5269],{"class":587},[571,5689,5316],{"class":597},[571,5691,5299],{"class":587},[571,5693,610],{"class":597},[571,5695,5696,5698,5700,5702,5704,5706,5708,5710,5712,5714],{"class":573,"line":4193},[571,5697,5299],{"class":587},[571,5699,5327],{"class":597},[571,5701,5012],{"class":653},[571,5703,604],{"class":597},[571,5705,5357],{"class":653},[571,5707,910],{"class":597},[571,5709,5269],{"class":587},[571,5711,5316],{"class":597},[571,5713,5299],{"class":587},[571,5715,610],{"class":597},[571,5717,5718,5720,5722,5724,5726,5728,5730,5732,5734,5736],{"class":573,"line":4211},[571,5719,5299],{"class":587},[571,5721,5327],{"class":597},[571,5723,5047],{"class":653},[571,5725,604],{"class":597},[571,5727,5357],{"class":653},[571,5729,910],{"class":597},[571,5731,5269],{"class":587},[571,5733,5316],{"class":597},[571,5735,5299],{"class":587},[571,5737,610],{"class":597},[571,5739,5740,5742,5744,5746,5748,5750,5752,5754,5756,5758],{"class":573,"line":4229},[571,5741,5299],{"class":587},[571,5743,5327],{"class":597},[571,5745,5082],{"class":653},[571,5747,604],{"class":597},[571,5749,5357],{"class":653},[571,5751,910],{"class":597},[571,5753,5269],{"class":587},[571,5755,5316],{"class":597},[571,5757,5299],{"class":587},[571,5759,610],{"class":597},[571,5761,5762,5764,5766,5768,5770,5772,5774,5776,5778,5780],{"class":573,"line":4247},[571,5763,5299],{"class":587},[571,5765,5327],{"class":597},[571,5767,5117],{"class":653},[571,5769,604],{"class":597},[571,5771,5357],{"class":653},[571,5773,910],{"class":597},[571,5775,5269],{"class":587},[571,5777,5316],{"class":597},[571,5779,5299],{"class":587},[571,5781,610],{"class":597},[571,5783,5784,5786,5788,5790,5792,5794,5796,5798,5800,5802],{"class":573,"line":4265},[571,5785,5299],{"class":587},[571,5787,5327],{"class":597},[571,5789,5152],{"class":653},[571,5791,604],{"class":597},[571,5793,5357],{"class":653},[571,5795,910],{"class":597},[571,5797,5269],{"class":587},[571,5799,5316],{"class":597},[571,5801,5299],{"class":587},[571,5803,610],{"class":597},[571,5805,5806,5808,5810,5812,5814,5816,5818,5820,5822,5824],{"class":573,"line":4283},[571,5807,5299],{"class":587},[571,5809,5535],{"class":597},[571,5811,5183],{"class":653},[571,5813,604],{"class":597},[571,5815,5357],{"class":653},[571,5817,910],{"class":597},[571,5819,5269],{"class":587},[571,5821,5316],{"class":597},[571,5823,5299],{"class":587},[571,5825,610],{"class":597},[571,5827,5828],{"class":573,"line":4288},[571,5829,875],{"emptyLinePlaceholder":874},[571,5831,5832],{"class":573,"line":4294},[571,5833,4291],{"class":577},[571,5835,5836,5838,5841,5843],{"class":573,"line":5212},[571,5837,2034],{"class":587},[571,5839,5840],{"class":597},"->pointerEvents(",[571,5842,3866],{"class":587},[571,5844,610],{"class":597},[621,5846,5847],{"color":623},[513,5848,4325,5849,5851,5852,4332,5854,4336,5856,4341],{},[517,5850,3800],{}," to process a large quantity of strokes, you should set the optional ",[517,5853,4331],{},[517,5855,4335],{},[615,5857,4340],{"href":4339},[509,5859,5860,6302],{"v-slot:csharp":511},[563,5861,5863],{"className":728,"code":5862,"language":730,"meta":511,"style":511},"\u002F\u002F Build the pointer events array\nPointerEvent[] events = new PointerEvent[]\n{\n  \u002F\u002F Stroke 1\n  new PointerEvent().Down(184, 124),\n  new PointerEvent().Move(184, 125),\n  new PointerEvent().Move(184, 128),\n  new PointerEvent().Move(184, 133),\n  new PointerEvent().Move(184, 152),\n  new PointerEvent().Move(184, 158),\n  new PointerEvent().Move(184, 163),\n  new PointerEvent().Move(183, 167),\n  new PointerEvent().Move(183, 174),\n  new PointerEvent().Move(183, 183),\n  new PointerEvent().Up(183, 184),\n  \u002F\u002F Stroke 2\n  new PointerEvent().Down(150, 126),\n  new PointerEvent().Move(151, 126),\n  new PointerEvent().Move(152, 126),\n  new PointerEvent().Move(158, 126),\n  new PointerEvent().Move(166, 126),\n  new PointerEvent().Move(184, 126),\n  new PointerEvent().Move(190, 128),\n  new PointerEvent().Move(196, 128),\n  new PointerEvent().Move(200, 128),\n  new PointerEvent().Move(207, 128),\n  new PointerEvent().Move(208, 128),\n  new PointerEvent().Up(209, 128)\n};\n\n\u002F\u002F Feed the editor\neditor.PointerEvents(events, false);\n",[517,5864,5865,5869,5886,5891,5896,5915,5932,5948,5964,5980,5996,6012,6028,6044,6060,6077,6082,6098,6114,6130,6146,6162,6178,6194,6210,6226,6242,6258,6274,6279,6283,6287],{"__ignoreMap":511},[571,5866,5867],{"class":573,"line":574},[571,5868,4353],{"class":577},[571,5870,5871,5873,5876,5878,5880,5882,5884],{"class":573,"line":581},[571,5872,3793],{"class":745},[571,5874,5875],{"class":597},"[]",[571,5877,5269],{"class":745},[571,5879,749],{"class":584},[571,5881,2610],{"class":584},[571,5883,4307],{"class":745},[571,5885,4386],{"class":597},[571,5887,5888],{"class":573,"line":871},[571,5889,5890],{"class":597},"{\n",[571,5892,5893],{"class":573,"line":878},[571,5894,5895],{"class":577},"  \u002F\u002F Stroke 1\n",[571,5897,5898,5901,5903,5906,5908,5910,5912],{"class":573,"line":884},[571,5899,5900],{"class":584},"  new",[571,5902,4307],{"class":745},[571,5904,5905],{"class":597},"().Down(",[571,5907,4405],{"class":653},[571,5909,604],{"class":597},[571,5911,5309],{"class":653},[571,5913,5914],{"class":597},"),\n",[571,5916,5917,5919,5921,5924,5926,5928,5930],{"class":573,"line":916},[571,5918,5900],{"class":584},[571,5920,4307],{"class":745},[571,5922,5923],{"class":597},"().Move(",[571,5925,4405],{"class":653},[571,5927,604],{"class":597},[571,5929,5334],{"class":653},[571,5931,5914],{"class":597},[571,5933,5934,5936,5938,5940,5942,5944,5946],{"class":573,"line":941},[571,5935,5900],{"class":584},[571,5937,4307],{"class":745},[571,5939,5923],{"class":597},[571,5941,4405],{"class":653},[571,5943,604],{"class":597},[571,5945,5357],{"class":653},[571,5947,5914],{"class":597},[571,5949,5950,5952,5954,5956,5958,5960,5962],{"class":573,"line":968},[571,5951,5900],{"class":584},[571,5953,4307],{"class":745},[571,5955,5923],{"class":597},[571,5957,4405],{"class":653},[571,5959,604],{"class":597},[571,5961,5380],{"class":653},[571,5963,5914],{"class":597},[571,5965,5966,5968,5970,5972,5974,5976,5978],{"class":573,"line":991},[571,5967,5900],{"class":584},[571,5969,4307],{"class":745},[571,5971,5923],{"class":597},[571,5973,4405],{"class":653},[571,5975,604],{"class":597},[571,5977,5403],{"class":653},[571,5979,5914],{"class":597},[571,5981,5982,5984,5986,5988,5990,5992,5994],{"class":573,"line":1013},[571,5983,5900],{"class":584},[571,5985,4307],{"class":745},[571,5987,5923],{"class":597},[571,5989,4405],{"class":653},[571,5991,604],{"class":597},[571,5993,5426],{"class":653},[571,5995,5914],{"class":597},[571,5997,5998,6000,6002,6004,6006,6008,6010],{"class":573,"line":1018},[571,5999,5900],{"class":584},[571,6001,4307],{"class":745},[571,6003,5923],{"class":597},[571,6005,4405],{"class":653},[571,6007,604],{"class":597},[571,6009,5449],{"class":653},[571,6011,5914],{"class":597},[571,6013,6014,6016,6018,6020,6022,6024,6026],{"class":573,"line":1024},[571,6015,5900],{"class":584},[571,6017,4307],{"class":745},[571,6019,5923],{"class":597},[571,6021,4662],{"class":653},[571,6023,604],{"class":597},[571,6025,5472],{"class":653},[571,6027,5914],{"class":597},[571,6029,6030,6032,6034,6036,6038,6040,6042],{"class":573,"line":1047},[571,6031,5900],{"class":584},[571,6033,4307],{"class":745},[571,6035,5923],{"class":597},[571,6037,4662],{"class":653},[571,6039,604],{"class":597},[571,6041,5495],{"class":653},[571,6043,5914],{"class":597},[571,6045,6046,6048,6050,6052,6054,6056,6058],{"class":573,"line":1067},[571,6047,5900],{"class":584},[571,6049,4307],{"class":745},[571,6051,5923],{"class":597},[571,6053,4662],{"class":653},[571,6055,604],{"class":597},[571,6057,5518],{"class":653},[571,6059,5914],{"class":597},[571,6061,6062,6064,6066,6069,6071,6073,6075],{"class":573,"line":1094},[571,6063,5900],{"class":584},[571,6065,4307],{"class":745},[571,6067,6068],{"class":597},"().Up(",[571,6070,4662],{"class":653},[571,6072,604],{"class":597},[571,6074,5542],{"class":653},[571,6076,5914],{"class":597},[571,6078,6079],{"class":573,"line":1330},[571,6080,6081],{"class":577},"  \u002F\u002F Stroke 2\n",[571,6083,6084,6086,6088,6090,6092,6094,6096],{"class":573,"line":1360},[571,6085,5900],{"class":584},[571,6087,4307],{"class":745},[571,6089,5905],{"class":597},[571,6091,4803],{"class":653},[571,6093,604],{"class":597},[571,6095,5573],{"class":653},[571,6097,5914],{"class":597},[571,6099,6100,6102,6104,6106,6108,6110,6112],{"class":573,"line":4086},[571,6101,5900],{"class":584},[571,6103,4307],{"class":745},[571,6105,5923],{"class":597},[571,6107,4840],{"class":653},[571,6109,604],{"class":597},[571,6111,5573],{"class":653},[571,6113,5914],{"class":597},[571,6115,6116,6118,6120,6122,6124,6126,6128],{"class":573,"line":4104},[571,6117,5900],{"class":584},[571,6119,4307],{"class":745},[571,6121,5923],{"class":597},[571,6123,4560],{"class":653},[571,6125,604],{"class":597},[571,6127,5573],{"class":653},[571,6129,5914],{"class":597},[571,6131,6132,6134,6136,6138,6140,6142,6144],{"class":573,"line":4122},[571,6133,5900],{"class":584},[571,6135,4307],{"class":745},[571,6137,5923],{"class":597},[571,6139,4596],{"class":653},[571,6141,604],{"class":597},[571,6143,5573],{"class":653},[571,6145,5914],{"class":597},[571,6147,6148,6150,6152,6154,6156,6158,6160],{"class":573,"line":4140},[571,6149,5900],{"class":584},[571,6151,4307],{"class":745},[571,6153,5923],{"class":597},[571,6155,4943],{"class":653},[571,6157,604],{"class":597},[571,6159,5573],{"class":653},[571,6161,5914],{"class":597},[571,6163,6164,6166,6168,6170,6172,6174,6176],{"class":573,"line":4158},[571,6165,5900],{"class":584},[571,6167,4307],{"class":745},[571,6169,5923],{"class":597},[571,6171,4405],{"class":653},[571,6173,604],{"class":597},[571,6175,5573],{"class":653},[571,6177,5914],{"class":597},[571,6179,6180,6182,6184,6186,6188,6190,6192],{"class":573,"line":4175},[571,6181,5900],{"class":584},[571,6183,4307],{"class":745},[571,6185,5923],{"class":597},[571,6187,5012],{"class":653},[571,6189,604],{"class":597},[571,6191,5357],{"class":653},[571,6193,5914],{"class":597},[571,6195,6196,6198,6200,6202,6204,6206,6208],{"class":573,"line":4193},[571,6197,5900],{"class":584},[571,6199,4307],{"class":745},[571,6201,5923],{"class":597},[571,6203,5047],{"class":653},[571,6205,604],{"class":597},[571,6207,5357],{"class":653},[571,6209,5914],{"class":597},[571,6211,6212,6214,6216,6218,6220,6222,6224],{"class":573,"line":4211},[571,6213,5900],{"class":584},[571,6215,4307],{"class":745},[571,6217,5923],{"class":597},[571,6219,5082],{"class":653},[571,6221,604],{"class":597},[571,6223,5357],{"class":653},[571,6225,5914],{"class":597},[571,6227,6228,6230,6232,6234,6236,6238,6240],{"class":573,"line":4229},[571,6229,5900],{"class":584},[571,6231,4307],{"class":745},[571,6233,5923],{"class":597},[571,6235,5117],{"class":653},[571,6237,604],{"class":597},[571,6239,5357],{"class":653},[571,6241,5914],{"class":597},[571,6243,6244,6246,6248,6250,6252,6254,6256],{"class":573,"line":4247},[571,6245,5900],{"class":584},[571,6247,4307],{"class":745},[571,6249,5923],{"class":597},[571,6251,5152],{"class":653},[571,6253,604],{"class":597},[571,6255,5357],{"class":653},[571,6257,5914],{"class":597},[571,6259,6260,6262,6264,6266,6268,6270,6272],{"class":573,"line":4265},[571,6261,5900],{"class":584},[571,6263,4307],{"class":745},[571,6265,6068],{"class":597},[571,6267,5183],{"class":653},[571,6269,604],{"class":597},[571,6271,5357],{"class":653},[571,6273,1231],{"class":597},[571,6275,6276],{"class":573,"line":4283},[571,6277,6278],{"class":597},"};\n",[571,6280,6281],{"class":573,"line":4288},[571,6282,875],{"emptyLinePlaceholder":874},[571,6284,6285],{"class":573,"line":4294},[571,6286,4291],{"class":577},[571,6288,6289,6291,6294,6296,6298,6300],{"class":573,"line":5212},[571,6290,2034],{"class":587},[571,6292,6293],{"class":597},".PointerEvents(",[571,6295,3866],{"class":587},[571,6297,604],{"class":597},[571,6299,4318],{"class":653},[571,6301,610],{"class":597},[621,6303,6304],{"color":623},[513,6305,4325,6306,4328,6308,4332,6310,4336,6312,4341],{},[517,6307,3790],{},[517,6309,4331],{},[517,6311,4335],{},[615,6313,4340],{"href":4339},[513,6315,6316],{},"For the particular case of \"Text Document\" parts, you should:",[6318,6319,6320,6328,6335],"ol",{},[2418,6321,6322,6323,6327],{},"Send each batch of pointer events to a dedicated \"Text\", \"Math\", \"Diagram\" or \"Raw Content\" part depending on the type of the content you want\nto process. Remember to ",[615,6324,6326],{"href":6325},"#guides","disable the guides"," on \"Text\" parts if you cannot ensure that they will match the baselines of the ink words.",[2418,6329,6330,6331,6334],{},"Call ",[517,6332,6333],{},"waitForIdle()"," to ensure that the recognition is complete.",[2418,6336,6337],{},"Paste as a block into your \"Text Document\" part at the appropriate location.",[621,6339,6340],{"color":623},[513,6341,6342],{},"When pasting a \"Text\" part into a \"Text Document\", iink SDK will attempt to automatically adjust the handwritten content to the\nguides.",[513,6344,6345,6346,6352],{},"It is possible to configure the maximum number of threads to be used by the engine for text recognition, by setting ",[615,6347,6349],{"href":6348},"\u002Fdocs\u002Fsdk\u002F4.1\u002Freference\u002Fconfiguration",[517,6350,6351],{},"max-recognition-thread-count"," configuration value to the number of threads to be used (default is 1).\nThis tuning might be relevant when processing at one time a large series of events.",[527,6354,6356],{"id":6355},"edit-and-decoration-gestures","Edit and decoration gestures",[513,6358,6359,6360,1644],{},"MyScript iink SDK supports all the standard gestures defined as part of ",[615,6361,6362],{"href":290},"Interactive Ink",[513,6364,6365,6366,6368,6369,6372],{},"There is nothing particular to do to benefit from gestures when using the ",[517,6367,2626],{}," ",[615,6370,6371],{"href":3115},"tool",". The SDK will take care of detecting and applying the effect of the gestures from the provided input\nwithout any plumbing needed.",[513,6374,6375,6376,6380,6381,6384,6385,6388,6389,6392],{},"Decorations can be ",[615,6377,6379],{"href":6378},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Fstyling","styled"," and will be taken into account when generating some of the ",[615,6382,6383],{"href":3143},"export formats"," (ex: text underlining will be\nignored for a simple text export, will turn bold in the case of a ",[517,6386,6387],{},"docx"," export and be semantically tagged in a ",[517,6390,6391],{},"jiix"," export).",[506,6394,6395,6407,6423,6434],{},[509,6396,6397],{"v-slot:swift":511},[513,6398,6399,6400,6402,6403,6406],{},"You can get a notification when a pen or a touch gesture is detected by attaching to the ",[799,6401,519],{}," a delegate conforming to the ",[799,6404,6405],{},"IINKGestureDelegate"," protocol.",[509,6408,6409],{"v-slot:csharp":511},[513,6410,6411,6412,6415,6416,6418,6419,6422],{},"You can get a notification when a pen or a touch gesture is detected by implementing the ",[799,6413,6414],{},"IGestureHandler"," interface, then registering it on your ",[799,6417,525],{}," with the ",[799,6420,6421],{},"SetGestureHandler​"," method.",[509,6424,6425],{"v-slot:java":511},[513,6426,6411,6427,6415,6429,6418,6431,6422],{},[799,6428,6414],{},[799,6430,525],{},[799,6432,6433],{},"setGestureHandler​",[509,6435,6436],{"v-slot:cpp":511},[513,6437,6411,6438,6415,6440,6418,6442,6422],{},[799,6439,6414],{},[799,6441,525],{},[799,6443,6433],{},[513,6445,6446,6447,6451],{},"By default, the ",[615,6448,6450],{"href":6449},"\u002Fdocs\u002Fconcepts\u002Ffundamentals\u002Frendering-driven-interactivity\u002Fediting-gestures#ink-gestures","behaviour"," associated with the gesture is the same as in previous iink versions.\nBut you can choose the action associated to the gesture to decide what to do with its stroke:",[2415,6453,6454,6460,6466],{},[2418,6455,6456,6459],{},[517,6457,6458],{},"ADD_STROKE"," to add the gesture stroke as a regular stroke (if relevant) without applying the gesture behavior.",[2418,6461,6462,6465],{},[517,6463,6464],{},"APPLY_GESTURE"," to apply the gesture behavior, as configured in the editor.",[2418,6467,6468,6471],{},[517,6469,6470],{},"IGNORE"," to discard the gesture stroke without applying the gesture behavior.",[506,6473,6474,6481],{},[509,6475,6476],{"v-slot:swift":511},[621,6477,6478],{"color":623},[513,6479,6480],{},"In order to avoid any action conflict, only one IINKGestureDelegate can be used per editor.\n::",[621,6482,6483],{"color":623},[513,6484,6485],{},"In order to avoid any action conflict, only one GestureHandler can be used per editor.\n::",[527,6487,6489],{"id":6488},"other-edit-operations","Other edit operations",[513,6491,6492,6493,549],{},"The following operations can be directly made on the content of a part via an ",[517,6494,525],{},[2415,6496,6497],{},[2418,6498,6499,6502],{},[799,6500,6501],{},"Undo\u002FRedo"," :\niink operations handled by the undo\u002Fredo stack are operations that modify the model. Such operations include adding stroke, applying gestures, converting the content.",[621,6504,6505],{"color":623},[513,6506,6507,6508,6512],{},"For further details or if you need to integrate iink SDK undo\u002Fredo with your own undo\u002Fredo stack, refer to ",[615,6509,6511],{"href":6510},"\u002Fdocs\u002Fsdk\u002F4.1\u002Finteractivity\u002Fcombined-undo-redo-stacks","this page"," (advanced)",[2415,6514,6515],{},[2418,6516,6517,6520],{},[799,6518,6519],{},"Clear"," is applied on the whole \"ContentPart\".",[513,6522,6523,6524,1644],{},"Most operations, however, are to be done on ",[615,6525,6527],{"href":6526},"#content-blocks","content blocks",[527,6529,6531],{"id":6530},"recognition-feedback","Recognition feedback",[532,6533,6535],{"id":6534},"display-recognized-text-in-real-time","Display recognized text in real time",[513,6537,6538],{},"The UI Reference Implementation comes with a \"smart guide\" component that lets you provide real-time text recognition feedback to your end users and allows them\nto select alternative interpretations from the engine.",[513,6540,6541,6542,6546],{},"Refer to the page describing ",[615,6543,6545],{"href":6544},"\u002Fdocs\u002Fsdk\u002F4.1\u002Ftext-recognition-candidates","how to work with text recognition candidates"," for more information.",[532,6548,6550],{"id":6549},"improve-user-experience","Improve user experience",[506,6552,6553,6597],{},[509,6554,6555],{"v-slot:csharp":511},[2415,6556,6557,6575],{},[2418,6558,6559,6560,6563,6564,6567,6568,6571,6572,6422],{},"Sometimes, the block extraction or segmentation does not give the expected result, leading to a degraded user experience with some ink recognized as text instead of shape, or shape as drawing, etc.\nIn order to cope with such a situation, the ",[615,6561,6562],{"href":3115},"lasso selector"," can be used to select some content, and then force\n",[615,6565,6566],{"href":3127},"the selected content"," to be recognized as a specific type and\u002For grouped with the editor ",[517,6569,6570],{},"SetSelectionType()",".\nThe list of possible types is provided by the ",[517,6573,6574],{},"GetAvailableSelectionTypes()",[2418,6576,6577,6578,6580,6581,6584,6585,6591,6592,6596],{},"The ",[517,6579,6570],{}," can also be used to perform math recognition on a selection of strokes of a \"Raw Content\" part.In this case, make sure to activate the math recognition by adding the ",[517,6582,6583],{},"math"," in the ",[615,6586,6588],{"href":6587},"\u002Fdocs\u002Fsdk\u002F4.1\u002Freference\u002Fconfiguration#raw-content",[517,6589,6590],{},"raw-content.recognition.types"," and deploy the ",[615,6593,6595],{"href":6594},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fcustom-recognition#procedure-to-use-these-resources","math resources"," in your application.",[2415,6598,6599,6611],{},[2418,6600,6559,6601,6563,6603,6567,6605,6571,6608,6422],{},[615,6602,6562],{"href":3115},[615,6604,6566],{"href":3127},[517,6606,6607],{},"setSelectionType()",[517,6609,6610],{},"getAvailableSelectionTypes()",[2418,6612,6577,6613,6580,6615,6584,6617,6591,6621,6596],{},[517,6614,6607],{},[517,6616,6583],{},[615,6618,6619],{"href":6587},[517,6620,6590],{},[615,6622,6595],{"href":6594},[527,6624,6626],{"id":6625},"monitoring-changes-in-the-model","Monitoring changes in the model",[513,6628,6629],{},"There are cases where it makes sense to be notified of what occurs in the model. For instance, you may want to update the states of the undo\u002Fredo buttons of\nyour interface or only permit an export when there is something to export.",[506,6631,6632,6684,6732,6772],{},[509,6633,6634,6644,6660,6666],{"v-slot:swift":511},[513,6635,6636,6637,6640,6641,6643],{},"You can attach a delegate conforming to the ",[517,6638,6639],{},"IINKEditorDelegate"," protocol to an ",[517,6642,519],{}," object': the protocol has several methods that let you know when any change occurs within the model.",[513,6645,6646,6648,6649,6655,6656,6659],{},[517,6647,6639],{}," also provides an ",[615,6650,6652],{"href":6651},"\u002Fdocs\u002Fsdk\u002F4.1\u002Ferror-management#editor-level-errors",[517,6653,6654],{},"onError:"," method that you can implement to be notified when anything goes wrong.\n",[799,6657,6658],{},"It is strongly recommended to implement it",", as it allows detecting some frequently seen issues such as recognition assets or configurations\nnot found by the engine.",[513,6661,6662,6663,6665],{},"In addition, the ",[517,6664,519],{}," class provides other useful methods\u002Fproperties, such as:",[2415,6667,6668,6678],{},[2418,6669,6670,6673,6674,6677],{},[517,6671,6672],{},"idle"," - Returns ",[517,6675,6676],{},"true\u002FYES"," if any ongoing processing by the engine is over",[2418,6679,6680,6683],{},[517,6681,6682],{},"waitForIdle"," - Blocks your thread until the engine is idle. It allows waiting for recognition to be complete before exporting, converting or\nmanipulating the content.",[509,6685,6686,6699,6713,6717],{"v-slot:csharp":511},[513,6687,2713,6688,819,6691,6694,6695,6698],{},[517,6689,6690],{},"AddListener()",[517,6692,6693],{},"RemoveListener()"," to respectively attach and remove an object of your choice that implements the ",[517,6696,6697],{},"IEditorListener"," interface:\nthe interface has several methods that let you know when any change occurs within the model.",[513,6700,6701,6648,6703,6708,6709,6712],{},[517,6702,6697],{},[615,6704,6705],{"href":6651},[517,6706,6707],{},"OnError()"," method that you can implement to be notified when anything goes wrong. ",[799,6710,6711],{},"It\nis strongly recommended to implement it",", as it allows detecting some frequently seen issues such as recognition assets or configurations not\nfound by the engine.",[513,6714,6662,6715,6665],{},[517,6716,525],{},[2415,6718,6719,6727],{},[2418,6720,6721,6673,6724,6677],{},[517,6722,6723],{},"IsIdle()",[517,6725,6726],{},"true",[2418,6728,6729,6683],{},[517,6730,6731],{},"WaitForIdle()",[509,6733,6734,6744,6755,6759],{"v-slot:java":511},[513,6735,2713,6736,819,6739,6694,6742,6698],{},[517,6737,6738],{},"addListener()",[517,6740,6741],{},"removeListener()",[517,6743,6697],{},[513,6745,6746,6648,6748,6708,6753,6712],{},[517,6747,6697],{},[615,6749,6750],{"href":6651},[517,6751,6752],{},"onError()",[799,6754,6711],{},[513,6756,6662,6757,6665],{},[517,6758,525],{},[2415,6760,6761,6768],{},[2418,6762,6763,6673,6766,6677],{},[517,6764,6765],{},"isIdle()",[517,6767,6726],{},[2418,6769,6770,6683],{},[517,6771,6333],{},[509,6773,6774,6782,6792,6796],{"v-slot:cpp":511},[513,6775,2713,6776,819,6778,6694,6780,6698],{},[517,6777,6738],{},[517,6779,6741],{},[517,6781,6697],{},[513,6783,6784,6648,6786,6708,6790,6712],{},[517,6785,6697],{},[615,6787,6788],{"href":6651},[517,6789,6752],{},[799,6791,6711],{},[513,6793,6662,6794,6665],{},[517,6795,525],{},[2415,6797,6798,6804],{},[2418,6799,6800,6673,6802,6677],{},[517,6801,6765],{},[517,6803,6726],{},[2418,6805,6806,6683],{},[517,6807,6333],{},[506,6809,6810,6848,6874],{},[509,6811,6812,6826],{"v-slot:java":511},[621,6813,6814],{"color":623},[513,6815,6816,6818,6819,6821,6822,6825],{},[517,6817,6765],{}," will always return ",[517,6820,4335],{}," in a ",[517,6823,6824],{},"contentChanged()"," notification.",[621,6827,6828],{"color":2387},[513,6829,6830,6831,6834,6835,6837,6838,6841,6842,6845,6846,6825],{},"To avoid deadlocks, ",[799,6832,6833],{},"do not"," call ",[517,6836,6333],{},", ",[517,6839,6840],{},"undo()"," or ",[517,6843,6844],{},"redo()"," from inside an ",[517,6847,6697],{},[509,6849,6850,6860],{"v-slot:cpp":511},[621,6851,6852],{"color":623},[513,6853,6854,6818,6856,6821,6858,6825],{},[517,6855,6765],{},[517,6857,4335],{},[517,6859,6824],{},[621,6861,6862],{"color":2387},[513,6863,6830,6864,6834,6866,6837,6868,6841,6870,6845,6872,6825],{},[799,6865,6833],{},[517,6867,6333],{},[517,6869,6840],{},[517,6871,6844],{},[517,6873,6697],{},[509,6875,6876,6887],{"v-slot:csharp":511},[621,6877,6878],{"color":623},[513,6879,6880,6818,6882,6821,6884,6825],{},[517,6881,6723],{},[517,6883,4335],{},[517,6885,6886],{},"ContentChanged()",[621,6888,6889],{"color":2387},[513,6890,6830,6891,6834,6893,6837,6895,6841,6898,6901,6902,6825],{},[799,6892,6833],{},[517,6894,6731],{},[517,6896,6897],{},"Undo()",[517,6899,6900],{},"Redo()","  from inside an ",[517,6903,6697],{},[506,6905,6906,6919,6927,6936],{},[509,6907,6908],{"v-slot:swift":511},[513,6909,6910,6911,6915,6916,1644],{},"If you rely on the ",[615,6912,6914],{"href":6913},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Frendering#reference-implementation","reference rendering implementation"," provided by MyScript, ink input will be transparently managed by the\n",[517,6917,6918],{},"EditorViewController",[509,6920,6921],{"v-slot:csharp":511},[513,6922,6910,6923,6915,6925,1644],{},[615,6924,6914],{"href":6913},[517,6926,774],{},[509,6928,6929],{"v-slot:java":511},[513,6930,6910,6931,6915,6933,1644],{},[615,6932,6914],{"href":6913},[517,6934,6935],{},"EditorView",[509,6937,6938],{"v-slot:cpp":511},[513,6939,6910,6940,6915,6942,1644],{},[615,6941,6914],{"href":6913},[517,6943,6935],{},[513,6945,6946],{},"At this stage, you have learnt to write in an application and see actual ink being rendered!",[6948,6949,6950],"style",{},"html pre.shiki code .sJjcI, html code.shiki .sJjcI{--shiki-light:#467191;--shiki-light-font-style:italic;--shiki-default:#467191;--shiki-default-font-style:italic;--shiki-dark:#6493B4;--shiki-dark-font-style:italic}html pre.shiki code .sglaT, html code.shiki .sglaT{--shiki-light:#7751EC;--shiki-default:#7751EC;--shiki-dark:#AC92FC}html pre.shiki code .sEQEB, html code.shiki .sEQEB{--shiki-light:#051F41;--shiki-default:#051F41;--shiki-dark:#D1E9FA}html pre.shiki code .soFc9, html code.shiki .soFc9{--shiki-light:#1A9FFF;--shiki-default:#1A9FFF;--shiki-dark:#1A9FFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sU2JI, html code.shiki .sU2JI{--shiki-light:#005FE4;--shiki-default:#005FE4;--shiki-dark:#80DFFF}html pre.shiki code .sVYTS, html code.shiki .sVYTS{--shiki-light:#0081F0;--shiki-default:#0081F0;--shiki-dark:#1A9FFF}html pre.shiki code .sZBTK, html code.shiki .sZBTK{--shiki-light:#002DB3;--shiki-default:#002DB3;--shiki-dark:#80EAFF}html pre.shiki code .stZ3G, html code.shiki .stZ3G{--shiki-light:#316081;--shiki-default:#316081;--shiki-dark:#7EACCE}",{"title":511,"searchDepth":871,"depth":871,"links":6952},[6953,6959,6963,6964,6965,6969],{"id":529,"depth":581,"text":530,"children":6954},[6955,6956,6957,6958],{"id":534,"depth":871,"text":535},{"id":777,"depth":871,"text":778},{"id":1891,"depth":871,"text":1892},{"id":2334,"depth":871,"text":2335},{"id":2393,"depth":581,"text":2394,"children":6960},[6961,6962],{"id":2400,"depth":871,"text":2401},{"id":3764,"depth":871,"text":3765},{"id":6355,"depth":581,"text":6356},{"id":6488,"depth":581,"text":6489},{"id":6530,"depth":581,"text":6531,"children":6966},[6967,6968],{"id":6534,"depth":871,"text":6535},{"id":6549,"depth":871,"text":6550},{"id":6625,"depth":581,"text":6626},"\u002Fdocs\u002Fsdk\u002F4.4\u002Feditor\u002Fediting","Guide to discover iink SDK","md","i-tabler-edit",{},null,"c7cmj6",{"title":436,"description":6971},"docs\u002Fsdk\u002F4.1\u002F11.editor\u002F02.editing","pMwgwDIOFOBmk3KAyX8jWWXDbgN3rN4Pmh2yPsK0zdM",[6981],{"title":5,"path":6,"stem":7,"children":6982,"page":40},[6983],{"title":321,"path":322,"stem":323,"children":6984,"page":40},[6985],{"title":6986,"navTitle":6975,"icon":6975,"path":6987,"stem":6988,"children":6989,"page":40},"4.1","\u002Fdocs\u002Fsdk\u002F4.1","docs\u002Fsdk\u002F4.1",[6990,6995,6999,7003,7016,7040,7057,7068,7075,7095,7103,7135,7137,7140,7144,7148,7156],{"title":330,"path":6991,"stem":6992,"navTitle":6993,"icon":6994},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fabout","docs\u002Fsdk\u002F4.1\u002F01.about","About","i-tabler-info-circle",{"title":33,"path":6996,"stem":6997,"navTitle":33,"icon":6998},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fchangelog","docs\u002Fsdk\u002F4.1\u002F02.changelog","i-tabler-bell-ringing",{"title":37,"path":7000,"stem":7001,"navTitle":37,"icon":7002},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fmigration-guide","docs\u002Fsdk\u002F4.1\u002F03.migration-guide","i-tabler-gps",{"title":42,"navTitle":6975,"icon":6975,"path":7004,"stem":7005,"children":7006,"page":40},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fintegration","docs\u002Fsdk\u002F4.1\u002F04.integration",[7007,7012],{"title":47,"path":7008,"stem":7009,"navTitle":7010,"icon":7011},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fintegration\u002Fplatforms","docs\u002Fsdk\u002F4.1\u002F04.integration\u002F01.platforms","Platforms","i-tabler-device-laptop",{"title":51,"path":7013,"stem":7014,"navTitle":51,"icon":7015},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fintegration\u002Fintegration-levels","docs\u002Fsdk\u002F4.1\u002F04.integration\u002F02.integration-levels","i-tabler-stack-2",{"title":55,"navTitle":6975,"icon":6975,"path":7017,"stem":7018,"children":7019,"page":40},"\u002Fdocs\u002Fsdk\u002F4.1\u002Frecognition-capabilities","docs\u002Fsdk\u002F4.1\u002F05.recognition-capabilities",[7020,7024,7028,7032,7036],{"title":60,"path":7021,"stem":7022,"navTitle":6975,"icon":7023},"\u002Fdocs\u002Fsdk\u002F4.1\u002Frecognition-capabilities\u002Frecognizers","docs\u002Fsdk\u002F4.1\u002F05.recognition-capabilities\u002F01.recognizers","i-tabler-text-scan-2",{"title":64,"path":7025,"stem":7026,"navTitle":64,"icon":7027},"\u002Fdocs\u002Fsdk\u002F4.1\u002Frecognition-capabilities\u002Ftext-languages","docs\u002Fsdk\u002F4.1\u002F05.recognition-capabilities\u002F02.text-languages","i-tabler-language",{"title":68,"path":7029,"stem":7030,"navTitle":68,"icon":7031},"\u002Fdocs\u002Fsdk\u002F4.1\u002Frecognition-capabilities\u002Fmath-elements-and-rules","docs\u002Fsdk\u002F4.1\u002F05.recognition-capabilities\u002F03.math-elements-and-rules","i-tabler-math",{"title":72,"path":7033,"stem":7034,"navTitle":72,"icon":7035},"\u002Fdocs\u002Fsdk\u002F4.1\u002Frecognition-capabilities\u002Fdiagram-features","docs\u002Fsdk\u002F4.1\u002F05.recognition-capabilities\u002F04.diagram-features","i-tabler-circle-square",{"title":76,"path":7037,"stem":7038,"navTitle":6975,"icon":7039},"\u002Fdocs\u002Fsdk\u002F4.1\u002Frecognition-capabilities\u002Fgestures","docs\u002Fsdk\u002F4.1\u002F05.recognition-capabilities\u002F05.gestures","i-tabler-hand-finger",{"title":80,"navTitle":6975,"icon":6975,"path":7041,"stem":7042,"children":7043,"page":40},"\u002Fdocs\u002Fsdk\u002F4.1\u002Finteractivity-integration","docs\u002Fsdk\u002F4.1\u002F06.interactivity-integration",[7044,7048,7052],{"title":85,"path":7045,"stem":7046,"navTitle":85,"icon":7047},"\u002Fdocs\u002Fsdk\u002F4.1\u002Finteractivity-integration\u002Fcontent-types","docs\u002Fsdk\u002F4.1\u002F06.interactivity-integration\u002F01.content-types","i-tabler-eye",{"title":89,"path":7049,"stem":7050,"navTitle":89,"icon":7051},"\u002Fdocs\u002Fsdk\u002F4.1\u002Finteractivity-integration\u002Finteractive-features","docs\u002Fsdk\u002F4.1\u002F06.interactivity-integration\u002F02.interactive-features","i-tabler-bolt",{"title":93,"path":7053,"stem":7054,"navTitle":7055,"icon":7056},"\u002Fdocs\u002Fsdk\u002F4.1\u002Finteractivity-integration\u002Fimport-and-export-formats","docs\u002Fsdk\u002F4.1\u002F06.interactivity-integration\u002F03.import-and-export-formats","Import and export","i-tabler-arrows-left-right",{"title":106,"navTitle":6975,"icon":6975,"path":7058,"stem":7059,"children":7060,"page":40},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fgetting-started","docs\u002Fsdk\u002F4.1\u002F07.getting-started",[7061,7065],{"title":386,"path":7062,"stem":7063,"navTitle":6975,"icon":7064},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fgetting-started\u002Fsetup","docs\u002Fsdk\u002F4.1\u002F07.getting-started\u002F01.setup","i-tabler-direction-sign",{"title":390,"path":7066,"stem":7067,"navTitle":6975,"icon":7064},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fgetting-started\u002Finteractive-ink-runtime","docs\u002Fsdk\u002F4.1\u002F07.getting-started\u002F02.interactive-ink-runtime",{"title":394,"navTitle":6975,"icon":6975,"path":7069,"stem":7070,"children":7071,"page":40},"\u002Fdocs\u002Fsdk\u002F4.1\u002Frecognizer","docs\u002Fsdk\u002F4.1\u002F08.recognizer",[7072],{"title":60,"path":7073,"stem":7074,"navTitle":6975,"icon":7023},"\u002Fdocs\u002Fsdk\u002F4.1\u002Frecognizer\u002Frecognizers","docs\u002Fsdk\u002F4.1\u002F08.recognizer\u002F01.recognizers",{"title":402,"navTitle":6975,"icon":6975,"path":7076,"stem":7077,"children":7078,"page":40},"\u002Fdocs\u002Fsdk\u002F4.1\u002Finteractivity","docs\u002Fsdk\u002F4.1\u002F09.interactivity",[7079,7083,7087,7091],{"title":7080,"path":7081,"stem":7082,"navTitle":6975,"icon":7027},"Non-interactive languages","\u002Fdocs\u002Fsdk\u002F4.1\u002Finteractivity\u002Fnon-interactive-languages","docs\u002Fsdk\u002F4.1\u002F09.interactivity\u002F01.non-interactive-languages",{"title":407,"path":7084,"stem":7085,"navTitle":6975,"icon":7086},"\u002Fdocs\u002Fsdk\u002F4.1\u002Finteractivity\u002Fstorage","docs\u002Fsdk\u002F4.1\u002F09.interactivity\u002F02.storage","i-tabler-file-database",{"title":97,"path":7088,"stem":7089,"navTitle":97,"icon":7090},"\u002Fdocs\u002Fsdk\u002F4.1\u002Finteractivity\u002Fmath-features","docs\u002Fsdk\u002F4.1\u002F09.interactivity\u002F03.math-features","i-tabler-calculator",{"title":414,"path":6510,"stem":7092,"navTitle":7093,"icon":7094},"docs\u002Fsdk\u002F4.1\u002F09.interactivity\u002F04.combined-undo-redo-stacks","Combined undo\u002Fredo stacks","i-tabler-arrow-back-up",{"title":418,"navTitle":6975,"icon":6975,"path":7096,"stem":7097,"children":7098,"page":40},"\u002Fdocs\u002Fsdk\u002F4.1\u002Foffscreen-editor","docs\u002Fsdk\u002F4.1\u002F10.offscreen-editor",[7099],{"title":423,"path":7100,"stem":7101,"navTitle":6975,"icon":7102},"\u002Fdocs\u002Fsdk\u002F4.1\u002Foffscreen-editor\u002Foff-screen-usage","docs\u002Fsdk\u002F4.1\u002F10.offscreen-editor\u002F01.off-screen-usage","i-tabler-stack-backward",{"title":427,"navTitle":6975,"icon":6975,"path":7104,"stem":7105,"children":7106,"page":40},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor","docs\u002Fsdk\u002F4.1\u002F11.editor",[7107,7111,7112,7116,7120,7124,7128,7131],{"title":432,"path":7108,"stem":7109,"navTitle":6975,"icon":7110},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Frendering","docs\u002Fsdk\u002F4.1\u002F11.editor\u002F01.rendering","i-tabler-app-window",{"title":436,"path":499,"stem":6978,"navTitle":6975,"icon":6973},{"title":440,"path":7113,"stem":7114,"navTitle":6975,"icon":7115},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Ftool-controller","docs\u002Fsdk\u002F4.1\u002F11.editor\u002F03.tool-controller","i-tabler-adjustments",{"title":444,"path":7117,"stem":7118,"navTitle":6975,"icon":7119},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Fblock-selection-management","docs\u002Fsdk\u002F4.1\u002F11.editor\u002F04.block-selection-management","i-tabler-pointer",{"title":448,"path":7121,"stem":7122,"navTitle":6975,"icon":7123},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Fconversion","docs\u002Fsdk\u002F4.1\u002F11.editor\u002F05.conversion","i-tabler-sparkles",{"title":452,"path":7125,"stem":7126,"navTitle":6975,"icon":7127},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Fzooming-and-scrolling","docs\u002Fsdk\u002F4.1\u002F11.editor\u002F06.zooming-and-scrolling","i-tabler-zoom-pan",{"title":456,"path":6378,"stem":7129,"navTitle":6975,"icon":7130},"docs\u002Fsdk\u002F4.1\u002F11.editor\u002F07.styling","i-tabler-palette",{"title":460,"path":7132,"stem":7133,"navTitle":6975,"icon":7134},"\u002Fdocs\u002Fsdk\u002F4.1\u002Feditor\u002Fcustom-inking","docs\u002Fsdk\u002F4.1\u002F11.editor\u002F08.custom-inking","i-tabler-brush",{"title":464,"path":3143,"stem":7136,"navTitle":6975,"icon":7056},"docs\u002Fsdk\u002F4.1\u002F12.import-and-export",{"title":202,"path":6544,"stem":7138,"navTitle":6975,"icon":7139},"docs\u002Fsdk\u002F4.1\u002F13.text-recognition-candidates","i-tabler-tags",{"title":471,"path":7141,"stem":7142,"navTitle":6975,"icon":7143},"\u002Fdocs\u002Fsdk\u002F4.1\u002Ferror-management","docs\u002Fsdk\u002F4.1\u002F14.error-management","i-tabler-bug",{"title":206,"path":7145,"stem":7146,"navTitle":6975,"icon":7147},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fcustom-recognition","docs\u002Fsdk\u002F4.1\u002F15.custom-recognition","i-tabler-file-code",{"title":313,"navTitle":6975,"icon":6975,"path":7149,"stem":7150,"children":7151,"page":40},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fhandwriting-generation","docs\u002Fsdk\u002F4.1\u002F16.handwriting-generation",[7152],{"title":313,"path":7153,"stem":7154,"navTitle":313,"icon":7155},"\u002Fdocs\u002Fsdk\u002F4.1\u002Fhandwriting-generation\u002Fhandwriting-generation","docs\u002Fsdk\u002F4.1\u002F16.handwriting-generation\u002F01.handwriting-generation","i-tabler-pencil",{"title":139,"navTitle":6975,"icon":6975,"path":7157,"stem":7158,"children":7159,"page":40},"\u002Fdocs\u002Fsdk\u002F4.1\u002Freference","docs\u002Fsdk\u002F4.1\u002F17.reference",[7160,7163,7168],{"title":144,"path":6348,"stem":7161,"navTitle":6975,"icon":7162},"docs\u002Fsdk\u002F4.1\u002F17.reference\u002F01.configuration","i-tabler-settings",{"title":239,"path":7164,"stem":7165,"navTitle":7166,"icon":7167},"\u002Fdocs\u002Fsdk\u002F4.1\u002Freference\u002Fjiix","docs\u002Fsdk\u002F4.1\u002F17.reference\u002F02.jiix","JIIX","i-tabler-braces",{"title":495,"path":7169,"stem":7170,"navTitle":456,"icon":7130},"\u002Fdocs\u002Fsdk\u002F4.1\u002Freference\u002Fstyling","docs\u002Fsdk\u002F4.1\u002F17.reference\u002F03.styling",{"id":7172,"title":7173,"body":7174,"canonicalPath":6975,"description":7234,"extension":6972,"icon":7002,"meta":7235,"navTitle":20,"navigation":874,"path":7236,"resolveKey":6975,"resolveVersion":6975,"seo":7237,"stem":7238,"__hash__":7239},"support\u002Fsupport\u002F01.index.md","Support",{"type":503,"value":7175,"toc":7232},[7176,7179],[513,7177,7178],{},"Find answers to common questions about integrating the iink SDK and MyScript Cloud APIs. Browse the topics below or reach out on the community forum.",[7180,7181,7182,7191,7199,7207,7215,7224],"card-group",{},[7183,7184,7188],"card",{"icon":7185,"title":7186,"to":7187},"i-tabler-package","Recognition assets","\u002Fsupport\u002Frecognition-assets\u002F",[513,7189,7190],{},"Download base assets and build custom resources to fine-tune the recognition.",[7183,7192,7196],{"icon":7193,"title":7194,"to":7195},"i-tabler-key","On-device license management","\u002Fsupport\u002Fon-device\u002Fon-device-license-management\u002F",[513,7197,7198],{},"Manage licenses for applications embedding the on-device iink SDK.",[7183,7200,7204],{"icon":7201,"title":7202,"to":7203},"i-tabler-user-circle","Registering with MyScript Cloud","\u002Fsupport\u002Fcloud\u002Fregistering-myscript-cloud\u002F",[513,7205,7206],{},"Create a Cloud account and obtain the keys to call our recognition APIs.",[7183,7208,7212],{"icon":7209,"title":7210,"to":7211},"i-tabler-rocket","Being production ready","\u002Fsupport\u002Fcloud\u002Fbeing-production-ready\u002F",[513,7213,7214],{},"Best practices and quotas to ship your iink Cloud integration to production.",[7183,7216,7221],{"icon":7217,"title":7218,"to":7219,"target":7220},"i-tabler-message-circle","Forums","https:\u002F\u002Fdeveloper-support.myscript.com\u002Fsupport\u002Flogin","_blank",[513,7222,7223],{},"Ask questions and get answers from the MyScript developer community.",[7183,7225,7229],{"icon":7226,"title":7227,"to":7228,"target":7220},"i-tabler-mail","Contact us","https:\u002F\u002Fwww.myscript.com\u002Fcontact\u002F",[513,7230,7231],{},"Can't find what you're looking for? Reach out to our team.",{"title":511,"searchDepth":871,"depth":871,"links":7233},[],"MyScript Developer Support hub",{},"\u002Fsupport",{"title":7173,"description":7234},"support\u002F01.index","jENFmcn55y_8r3_6pH5xxlH1dZJBwoAuq9F7gXQtow8",1792566706804]