HOTSPOT
You are developing a Windows Store app by using HTML5 and JavaScript.
The app defines the following objects:
• inkManager is an object to process and manipulate the ink-related data from the
stylus.
• inkContext is an object to hold the surface context.
• currentPenId is an object to restrict input processing to one stroke at a time.
The app must support the following requirements:
• Support the use of a stylus input device.
• Begin capturing input when the stylus first touches the screen.
• Render stylus movements in real time.
You need to ensure that the requirements are met. Which code segments should you use?
(To answer, select the correct option from each drop-down list in the answer area.)
Explanation: