📌  相关文章
📜  android studio 如何移动图片画布 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:11.382000             🧑  作者: Mango

代码示例1
protected void onDraw(Canvas canvas) {

            super.onDraw(canvas);

            Bitmap myBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.pic1);

            canvas.drawBitmap(myBitmap, 0, 0, null);

        }