Posted: Tue Nov 26, 2019 1:43 am
Is it possible allow users to do "free-form" input on mobile/touch devices? Our use case would be users entering their signature.
Re: Free-form input
Posted: Tue Nov 26, 2019 2:07 am
You can do that in may ways, but some manual coding is required.
One way is to register the PointerPressed, PointerMove, and PointerReleased events and add segments to a Path control to draw. You can re-use some of the code from the "Drag and Drop" demo in the Showcase app, located at:http://www.cshtml5.com/samples/showcase ... L_Features
Another way is to use the native HTML <canvas> control in conjuction with the LineElement class, as documented at:http://www.cshtml5.com/links/how-to-use ... anvas.aspx