Mapsforge themes compatibility (#388) #100

This commit is contained in:
Longri authored and Emux committed 2017-09-03 18:02:35 +03:00
1 parent f6d2db4c6f
commit b695d43fee
18 files changed
+1565 -20

No files matched your search

@@ -159,4 +159,12 @@ public class IosCanvas implements Canvas {
public int getWidth() {
return this.cgBitmapContext != null ? (int) this.cgBitmapContext.getWidth() : 0;
}
@Override
public void fillRectangle(int x, int y, int width, int height, int color) {
CGRect rect = new CGRect(x, y, width, height);
setFillColor(this.cgBitmapContext, (color));
this.cgBitmapContext.setBlendMode(CGBlendMode.Normal);
this.cgBitmapContext.fillRect(rect);
}
}