diff --git a/vtm-jts/src/org/oscim/layers/vector/VectorLayer.java b/vtm-jts/src/org/oscim/layers/vector/VectorLayer.java index 1660993f..6a304393 100644 --- a/vtm-jts/src/org/oscim/layers/vector/VectorLayer.java +++ b/vtm-jts/src/org/oscim/layers/vector/VectorLayer.java @@ -1,6 +1,6 @@ /* * Copyright 2014 Hannes Janetzek - * Copyright 2016-2017 devemux86 + * Copyright 2016-2018 devemux86 * * This file is part of the OpenScienceMap project (http://www.opensciencemap.org). * @@ -266,6 +266,7 @@ public class VectorLayer extends AbstractVectorLayer implements Gestur .cap(style.cap) .color(style.strokeColor) .fixed(style.fixed) + .blur(style.blur) .heightOffset(style.heightOffset) .level(0) .randomOffset(style.randomOffset) diff --git a/vtm-jts/src/org/oscim/layers/vector/geometries/Style.java b/vtm-jts/src/org/oscim/layers/vector/geometries/Style.java index 7f07fc7c..426bf62c 100644 --- a/vtm-jts/src/org/oscim/layers/vector/geometries/Style.java +++ b/vtm-jts/src/org/oscim/layers/vector/geometries/Style.java @@ -1,6 +1,6 @@ /* * Copyright 2014 Hannes Janetzek - * Copyright 2016-2017 devemux86 + * Copyright 2016-2018 devemux86 * * This file is part of the OpenScienceMap project (http://www.opensciencemap.org). * @@ -46,6 +46,7 @@ public class Style { public final Paint.Cap cap; public final boolean fixed; + public final float blur; public final int stipple; public final int stippleColor; public final float stippleWidth; @@ -68,6 +69,7 @@ public class Style { cap = builder.cap; fixed = builder.fixed; + blur = builder.blur; stipple = builder.stipple; stippleColor = builder.stippleColor; stippleWidth = builder.stippleWidth; @@ -101,6 +103,7 @@ public class Style { public Paint.Cap cap = Paint.Cap.ROUND; public boolean fixed = false; + public float blur = 0; public int stipple = 0; public int stippleColor = Color.GRAY; public float stippleWidth = 1; @@ -207,6 +210,11 @@ public class Style { return this; } + public Builder blur(float blur) { + this.blur = blur; + return this; + } + public Builder stipple(int width) { this.stipple = width; return this;