stealthcopter
stealthcopter

Reputation: 14186

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 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?

Upvotes: 2

Views: 2557

Answers (1)

Romain Guy
Romain Guy

Reputation: 98501

You can create a Path and add your lines to the Path. This will prevent the "problem" you are seeing.

Upvotes: 3

Related Questions