Render themes: stroke dash array improvements #131
This commit is contained in:
@@ -606,13 +606,10 @@ public class XmlMapsforgeThemeBuilder extends DefaultHandler {
|
|||||||
}
|
}
|
||||||
b.texture = new TextureItem(bitmap);
|
b.texture = new TextureItem(bitmap);
|
||||||
b.texture.mipmap = true;
|
b.texture.mipmap = true;
|
||||||
b.fixed = false;
|
|
||||||
b.randomOffset = false;
|
b.randomOffset = false;
|
||||||
b.stipple = width;
|
b.stipple = width;
|
||||||
b.stippleWidth = 1;
|
b.stippleWidth = 1;
|
||||||
b.stippleColor = b.fillColor;
|
b.stippleColor = b.fillColor;
|
||||||
b.fillColor = Color.TRANSPARENT;
|
|
||||||
b.strokeColor = Color.TRANSPARENT;
|
|
||||||
} else {
|
} else {
|
||||||
b.texture = Utils.loadTexture(mTheme.getRelativePathPrefix(), src, b.symbolWidth, b.symbolHeight, b.symbolPercent);
|
b.texture = Utils.loadTexture(mTheme.getRelativePathPrefix(), src, b.symbolWidth, b.symbolHeight, b.symbolPercent);
|
||||||
|
|
||||||
|
|||||||
@@ -601,13 +601,10 @@ public class XmlThemeBuilder extends DefaultHandler {
|
|||||||
}
|
}
|
||||||
b.texture = new TextureItem(bitmap);
|
b.texture = new TextureItem(bitmap);
|
||||||
b.texture.mipmap = true;
|
b.texture.mipmap = true;
|
||||||
b.fixed = false;
|
|
||||||
b.randomOffset = false;
|
b.randomOffset = false;
|
||||||
b.stipple = width;
|
b.stipple = width;
|
||||||
b.stippleWidth = 1;
|
b.stippleWidth = 1;
|
||||||
b.stippleColor = b.fillColor;
|
b.stippleColor = b.fillColor;
|
||||||
b.fillColor = Color.TRANSPARENT;
|
|
||||||
b.strokeColor = Color.TRANSPARENT;
|
|
||||||
} else {
|
} else {
|
||||||
b.texture = Utils.loadTexture(mTheme.getRelativePathPrefix(), src, b.symbolWidth, b.symbolHeight, b.symbolPercent);
|
b.texture = Utils.loadTexture(mTheme.getRelativePathPrefix(), src, b.symbolWidth, b.symbolHeight, b.symbolPercent);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user