Canvas drawline with semi transparent lines overlap problem
I am drawing several lines on a canvas using drawline, the lines are semi transparent (their paint has开发者_StackOverflow社区 an alpha value <255) only problem is that the point at which they cross creates a dot of less transparent color (obviously) is there a simple way to avoid this?
You can create a Path and add your lines to the Path. This will prevent the "problem" you are seeing.
精彩评论