1. A method comprising: drawing one or more strokes of a desired shape using a stylus on a touch screen; dynamically inputting an associated data of the one or more strokes via the touch screen into a handwriting recognition engine; determining a trigger stroke in the drawn one or more strokes that can be used to trigger shape recognition by the handwriting recognition engine; and triggering shape recognition for the drawn shape based on the determined trigger stroke by the handwriting recognition engine.