Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从设备触摸屏获取签名输入并将该可绘制对象保存到位图中,以便稍后我可以将该位图上传到服务器。任何人都可以提供代码,因为它真的很紧急。
提前感谢每一位读者和帮助者。
您可能应该使用 APIDemos 中的 FingerPaint 应用程序的 TouchPaint。也通过这个链接
尝试使用 SVG 格式。您需要将所有触摸点 x,y 存储在一个数组中,将其转换为 svg 。通过 w3school 寻求帮助。