picyka Posted March 21 Posted March 21 How do you know if it is empty? I use it for signature collection, and I would like to know if it has already been written on it or not, I tried the IsBlank method but it doesn't work.
Sherzod Posted March 22 Posted March 22 Hello, Just to clarify — will the signature always be drawn freehand by the user, or is there also a possibility of loading an image into the canvas (e.g. a scanned signature)?
picyka Posted March 22 Author Posted March 22 2 horas atrás, Sherzod disse: Olá Só para esclarecer - a assinatura sempre será desenhada à mão livre pelo usuário ou também existe a possibilidade de carregar uma imagem na tela (por exemplo, uma assinatura digitalizada)? I'm using it for signature, user writes by hand.
Sherzod Posted March 22 Posted March 22 9 hours ago, picyka said: I'm using it for signature, user writes by hand. Hi! The solution you're looking for is almost ready — I have been working through the details step by step, and now it's behaving very close to what you'd expect: - It detects whether the canvas is truly signed or not (ignoring accidental taps) - It works with a configurable threshold (e.g. 0.1% of pixels must be drawn) - It synchronizes the state back to the server, so IsBlank works naturally in Delphi I’ll try to share the full implementation in the next few days. 1
Recommended Posts