Android development patheffect problem handling

I want to draw an area composed of irregular paths, and because the visual effect of this path needs to be rounded, I use paint. Setpatheffect (New cornerpatheffect (300)); Fillet is set for, but when the area is combined through this path, because of the fillet setting, the whole area has the effect of fillet, which is not what I want.

As shown in the figure, black is my path, and red is the area composed of path with rounded corners. All four corners have rounded corners, which is not what I want.

The blue area is not rounded, and the area on the path side does not meet the standard.

Here is all my code

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>