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.
我正在尝试按照我的手指绘制平滑线。问题在于叠加。左边的例子是drawLine数组,右边是drawPath。有没有办法让它像左边的例子一样平滑?
将线条构造为纯色,然后将该线条包裹在可绘制对象中。把这个drawable变成透明的,然后把它画到屏幕上。