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