Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Apache License 

import android.graphics.Matrix;

public class Main {
    /**
     * Gets invert matrix.
     *
     * @param matrix original matrix
     * @return invert matrix
     */
    public static Matrix getInvertMatrix(Matrix matrix) {
        Matrix invertMatrix = new Matrix();
        matrix.invert(invertMatrix);
        return invertMatrix;
    }
}