Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void displayUserPos(Point userPos) {
- Bitmap marker = BitmapFactory.decodeResource(getResources(), R.drawable.ic_yah);
- canvas.drawBitmap(marker, (float)userPos.getX(), (float)userPos.getY(), null);
- imgView.setImageBitmap(fmOverlay);
- }
- canvas.drawColor(0, Mode.CLEAR);
- canvas.drawColor(Color.BLACK);
- for (Iterator<GraphicObject> it = _graphics.iterator(); it.hasNext();) {
- GraphicObject graphic = (GraphicObject)it.next();
- coords = graphic.getCoordinates();
- canvas.drawCircle(coords.getX(), coords.getY(), (float)coords.getRadius(), paint);
- }
- overlayBitmap.eraseColor(Color.TRANSPARENT);
- void clearRect(x, y, width, height)
Add Comment
Please, Sign In to add comment