InputDraw - Example

How can I put an InputDraw with advance features?

Here is an example of a page with more advance features so it is all easy to understand.

Following is the example code:

Here we have an example with a drawing pad and a view canvas. Both have "eyes.jpg" as background. As you can see for the drawing pad we defined the stroke style and disable the possibility to change the Stroke Color.We also change the icons and the tools color.

Using the Javascript API we enable the view area so that every stroke the user does on the draw pad will also appear on the View. Notice that we set the initial SVG for the View so that it emulates the size of the Draw and draw everything on the right place.

Example

Here is the drawing area.





And the smaller View where all stroke will end up.



Enjoy.