问题标签 [signaturepad]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - 当用户在 xamarin.forms 中使用签名板时如何停止页面滚动?
我正在使用 xamarin.forms 开发 Android 应用程序。我需要在我的应用程序中使用签名板。我已经成功使用了签名板。但是放置签名板的屏幕有很多控件。所以屏幕垂直滚动。
我的问题是当用户尝试在签名板上签名时,它开始垂直滚动并且用户无法在签名板上签名。用户只能绘制 av 垂直线。
请告诉我当用户尝试在签名板上签名时如何停止垂直滚动。
问候, 阿南德·杜贝
c# - Xamarin 表单签名板 获取图片
我使用以下代码从签名板获取签名,但没有任何值。
我是不是错了,我如何将它转换为 base64 字符串?
xamarin - Xamarin.Forms MemoryStream 操作。为什么Android与iOS不同?
因此,我正在使用 SignaturePad.PCL nuget 包,您可以从插件中恢复流,该插件采用绘制点并创建图像。然后,我将该图像作为 base 64 字符串传递给 Web 服务,并将其显示在 Web 应用程序中。好吧,我发现我能够像这样转换为 base 64 字符串
有谁知道为什么有区别?
xamarin.android - 如何在签名板 xamarin 表单上绑定签名字节数组?
我的 xamarin 表单应用程序中有一个签名板。用户在签名板上签名并移动到下一个屏幕。但是当用户返回签名板屏幕时,之前的签名会从签名板中删除。我如何设置签名不应该删除,直到用户在应用程序的当前状态下执行?
当用户移动到下一个屏幕时,我将签名值保存为字节数组。那么我可以在签名板上绑定这个字节数组来显示签名吗?
问候, 阿南德·杜贝
javascript - 签名垫 - 冷融合
我正在尝试使用 SignaturePad - 捕获签名 - 原始编码有效 - 但它会弹出到新浏览器并作为 data:image/png;base64etc 发送...
这很好 - 但我正在尝试将数据捕获到 .cfm url - 即:signed.cfm?sigstr="data:image/png;base64etc..." - 然后我可以用它做事。更改网址没有太多运气 - 也没有新的浏览器窗口 - 我认为它是下面的代码......
window.open(signaturePad.toDataURL());
任何帮助表示赞赏
javascript - 平滑签名 - ColdFusion
想知道我需要用下面的这些数据做什么?
我不知道该怎么办...
从此表单中获取签名后
签名完成 - 这是返回的内容......
[{"lx":123,"ly":99,"mx":123,"my":98},{"lx":123,"ly":98,"mx":123,"my": 99},{"lx":123,"ly":99,"mx":123,"my":98},{"lx":123,"ly":100,"mx":123,"my ":99},{"lx":123,"ly":103,"mx":123,"my":100},{"lx":124,"ly":105,"mx":123, "my":103},{"lx":124,"ly":107,"mx":124,"my":105},{"lx":126,"ly":109,"mx": 124,"my":107},{"lx":128,"ly":112,"mx":126,"my":109},{"lx":131,"ly":115,"mx ":128,"my":112},{"lx":133,"ly":117,"mx":131,"my":115},{"lx":136,"ly":120,"mx":133,"my":117},{"lx":139,"ly":123,"mx":136,"my":120}, {"lx":141,"ly":125,"mx":139,"my":123},{"lx":143,"ly":126,"mx":141,"my":125 },{"lx":146,"ly":128,"mx":143,"my":126},{"lx":149,"ly":131,"mx":146,"my" :128},{"lx":151,"ly":133,"mx":149,"my":131},{"lx":154,"ly":134,"mx":151,"我的":133},{"lx":157,"ly":136,"mx":154,"my":134},{"lx":159,"ly":137,"mx":157 ,"my":136},{"lx":161,"ly":138,"mx":159,"my":137},{"lx":162,"ly":140,"mx":161,"my":138},{"lx":164,"ly":141,"mx":162,"my":140}, {"lx":165,"ly":144,"mx":164,"my":141},{"lx":166,"ly":145,"mx":165,"my":144 },{"lx":167,"ly":146,"mx":166,"my":145},{"lx":168,"ly":147,"mx":167,"my" :146},{"lx":168,"ly":148,"mx":168,"my":147},{"lx":167,"ly":148,"mx":168,"我的":148},{"lx":166,"ly":148,"mx":167,"my":148},{"lx":165,"ly":148,"mx":166 ,"my":148},{"lx":164,"ly":147,"mx":165,"my":148},{"lx":163,"ly":147,"mx":164,"my":147},{"lx":163,"ly":144,"mx":163,"my":147}, {"lx":163,"ly":141,"mx":163,"my":144},{"lx":168,"ly":134,"mx":163,"my":141 },{"lx":175,"ly":124,"mx":168,"my":134},{"lx":185,"ly":115,"mx":175,"my" :124},{"lx":197,"ly":105,"mx":185,"my":115}]175,"ly":124,"mx":168,"my":134},{"lx":185,"ly":115,"mx":175,"my":124},{"lx ":197,"ly":105,"mx":185,"my":115}]175,"ly":124,"mx":168,"my":134},{"lx":185,"ly":115,"mx":175,"my":124},{"lx ":197,"ly":105,"mx":185,"my":115}]
http://www.jqueryscript.net/demo/Smooth-Signature-Pad-Plugin-with-jQuery-Html5-Canvas/examples/
image - 将 xamarin.image 转换为 base 64 格式
我需要将 xamarin 表单图像转换为 base64 格式,有人可以帮我吗?
这就是我试图做到这一点的方式,但它确实有效。
“signatureImage”是图像名称。
javascript - 从没有透明背景的 SignaturePad 导出图像
我无法将 SignaturePad 图像正确保存到我的服务器。uri 正确地从 Javascript 传递到 PHP,因为我可以在 html 中单独呈现 uri。但是,当我尝试将其导出为 png 文件时,无法显示该图像。我在下面发布了一个示例 uri。如果将其粘贴到浏览器中,它将正确呈现。但是,它不会正确保存为 png 文件。它是黑色的,不应该是。我尝试从其他来源(不是 SignaturePad)导出各种其他 uri,它们将正确保存为 png。此外,签名板中的背景设置为白色,因此这不应该是问题。
PHP 代码
任何帮助将非常感激。如果您需要更多信息,请与我们联系。