本文介绍了连接的Andr​​oid code字符串作为位图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法为en code字符串作为位图?或绘制?

Is there a way to encode a string as a bitmap? Or a drawable?

谢谢
克里斯

推荐答案

创建位图,为它创建一个画布,并调用 Canvas.drawText 。这应该做的! (这就是你的意思是用编码的字符串,对吧?)

Create a Bitmap, create a Canvas for it, and call Canvas.drawText. That should do! (That's what you meant with "encoding" the string, right?)

编辑:咄,我意识到你正在寻找的东西像水印一样DigiMark

Duh, I realized you're looking for something like a watermark, like DigiMark?

这篇关于连接的Andr​​oid code字符串作为位图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 14:15
查看更多