Any idea what this means: "The method drawBitmap(Bitmap, Rect, RectF, Paint) is ambiguous for the type Canvas" ?
- Code: Select all
Bitmap out = Bitmap.createBitmap(rect.right-rect.left, rect.bottom-rect.top, Bitmap.Config.ARGB_8888);
Canvas c = new Canvas(out);
Paint p = new Paint();
c.drawBitmap(unten, rect, null, p); // error
...}
Maybe it has to do something with the method drawBitmap(Bitmap, Rect, Rect, Paint), where the Rect is of Integer-Type.
Thanks for the help



