mapsforge / vtm

OpenGL vector map library - running on Android, iOS, Desktop and browser.
GNU Lesser General Public License v3.0
272 stars 89 forks source link

How to add strokes to vector lines #1105

Closed CodeK1988 closed 8 months ago

CodeK1988 commented 8 months ago

How to add strokes to vector lines.

Style.builder().buffer(0.5) /.strokeColor(polylineOptions.getLineColor()) .strokeWidth(polylineOptions.getLineWidth())/ .fillColor(Color.parseColor("#E03232")) .stippleWidth(6f) .strokeColor(Color.parseColor("#ffFAFAFA")) .strokeWidth(1f) .build();

I want to distinguish the fill color and stroke color. How can I do it?