background color - Bitmap in org.mapsforge.core.graphics.Bitmap -
i used code showing text on map :
org.mapsforge.core.graphics.bitmap bitmap=null; bitmap= androidgraphicfactory.converttobitmap(textasbitmap(string.valueof(vehiclecode1), 45, color.black)); bitmap.setbackgroundcolor(color.yellow);
if remove line:
bitmap.setbackgroundcolor(color.yellow);
on map see text want yellow background under text, when add line:
bitmap.setbackgroundcolor(color.yellow);
i see yellow rectangle on map. want yellow rectangle text. should do? in advance
maybe setting color before initalizing text. (u know, maybe app applying text , after tht overlaying color)
Comments
Post a Comment