Paint mPaint = new Paint();
mPaint.setStyle(Style.FILL);
mPaint.setColor(Color.Red);
canvas.drawRect(mRedPaddleRect, mPaint);
Here, mRedPaddleRect is a Rectangle formed using Rect and instead of setting It a color I want set an Image.
How can this be done?
Any help would be appreciated.
Thank You.