3. The process according to claim 1 , further comprising: upon determining the editing mode is erase, then activating an erase behavior.
1. A process for associating an ink editor to an ink canvas, the process comprising: attaching the ink editor to the ink canvas, wherein the ink canvas comprises an ink canvas object that is configured to detect and respond to actions performed by the use of a stylus-based input device, the ink canvas object comprising constructors, properties, methods and events, wherein the ink editor manages customizable behaviors associated with editing modes supported by the ink canvas object, wherein the ink canvas object is configured to host one or more child elements and provide ink functionality to the one or more child elements, the ink functionality comprising the creation, editing, recognition and detection of ink, wherein the ink comprises information captured from the use of the stylus-based input device; determining an editing mode using a processing unit; handling user input based on the determined editing mode, wherein the one or more child elements are rendered and the ink is rendered with the one or more child elements.