Canvas coordinates

Is it possible to get canvas coordinates, or touch action (down, move, up)? 

For example: Android MotionEvent e class properties

Points.Add(new SignaturePoint

            {

                X = e.GetX(),

                Y = e.GetY(),

                TimeCode = (int)(JavaSystem.CurrentTimeMillis() - startTime),

                Pressure = e.GetPressure(0)

            });


Thank you.

Best regards,

Balázs


1 Reply

RS Ruba Shanmugam Syncfusion Team June 21, 2022 11:22 AM UTC

Hi Suranyi,

Query: To get the Canvas coordinates

We have checked the reported query and we would like to let you know that currently, we don’t have support to get the coordinate point in the touch action. Instead, you can get the sign drawing start and end events by using StrokeStarted and StrokeCompleted events.

Can you refer to the below UG link:

https://help.syncfusion.com/xamarin/signaturepad/events?cs-save-lang=1&cs-lang=csharp#strokestarted

Please let us know if you need any other details.

Regards,

Ruba Shanmugam


Loader.
Up arrow icon