PATRIK27 / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

PathOverlay draw problem #242

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
even I add the fowling code can not fix the problem

    this.mPaint.setStrokeWidth(25.0f);
        this.mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC));
        this.mPaint.setStyle(Paint.Style.STROKE);
        this.mPaint.setFlags(Paint.ANTI_ALIAS_FLAG);
        this.mPaint.setStrokeCap(Paint.Cap.ROUND);
        this.mPaint.setStrokeJoin(Paint.Join.ROUND);

cf the picture

In fact I need different colors for the itinerary with transparence, because 
osmdroid draw all things in the same canvas, the method setXfermode can not 
give me the right result...

Original issue reported on code.google.com by Jiehao.Y...@gmail.com on 18 Jul 2011 at 4:02

Attachments:

GoogleCodeExporter commented 8 years ago
When you create a new issue there is a template prompting you for the required 
information. Please follow the hints.

Original comment by neilboyd on 19 Jul 2011 at 10:04