Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.graphics.Bitmap;

public class Main {

    public static Bitmap getPartOfBitmap(Bitmap bitmap, int x, int y, int width, int height) {
        Bitmap bm = Bitmap.createBitmap(bitmap, x, y, width, height);
        return bm;
    }
}