android - 为 Gesture.toBitmap() 设置描边宽度

标签 android gesture

可以使用 toBitmap() 将手势保存为位图

但是笔划宽度似乎总是1px。

如何将手势保存为具有更大笔画宽度的位图?

最佳答案

看源码,好像实现不了。

rewrote the toBitmap()为了回答这个问题。

关于android - 为 Gesture.toBitmap() 设置描边宽度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14033653/

相关文章:

java - Android - 如何检测父布局类型

android - 如何获取已安装的widget列表?

android - 在 ImageView 中选择 Fling 和 Drag 手势

angular - 在 Angular 中为不同的模块配置 hammer.js 手势

Android:同一 View 上的多个手势检测器

android - 带有 NDK 15c 的 FFMpeg 3.4 与带有 NDK 16b 的 FFMpeg 3.4

c# - GCM 服务器在 C# 中向 android 推送通知

delphi - 我如何查看谁在 Delphi 中触发了手势标准操作?

android - 如何使用Android Map 以手势缩放(类似iphone)

Android:从代码向特定布局添加 View