Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.graphics.Bitmap;

import android.graphics.Point;

public class Main {

    public static boolean isSameByPosition(Bitmap bitmap, Bitmap other, Point[] points) {
        for (Point p : points) {
            if (bitmap.getPixel(p.x, p.y) != bitmap.getPixel(p.x, p.y))
                return false;
        }
        return true;
    }
}