I'm drawing two shapes in Android using paint and canvas. I applied transparency to the paint color, but now when the two shapes (same color) intersect the intersecting section comes out darker.
Does anyone know how to accomplish this?
Here is a quick look at my paint code (which... should be the only object necessary to complete this I imagine).
Paint paint = new Paint();
paint.setColor(color);
paint.setAntiAlias(true);
paint.setStrokeWidth(strokeWidth);
paint.setStrokeJoin(Paint.Join.ROUND);
paint.setStrokeCap(Paint.Cap.ROUND);
paint.setPathEffect(new CornerPathEffect(15));
paint.setStyle(Paint.Style.FILL);