Canvas上可以添加多个drawText吗?
canvas.drawText("a", 20, 40,paint);
canvas.drawText("b", 20, 60,paint);
canvas.drawText("c", 20, 80,paint);
需要在Canvas上添加多个文本。使用一个drawText的时候没有问题,但是使用多个时就报错。
错误提示:
E/rsC++: RS CPP error: Blur radius out of 0-25 pixel bound
E/rsC++: RS CPP error (masked by previous error): Allocation creation failed
E/rsC++: RS CPP error (masked by previous error): Allocation creation failed
E/rsC++: RS CPP error (masked by previous error): Blur radius out of 0-25 pixel bound
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x28 in tid 19429 (RenderThread)