Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.graphics.Matrix;

public class Main {
    private static float[] mMatrixValues = new float[9];

    public static void getValuesFromMatrix(Matrix matrix, float[] values) {
        matrix.getValues(values);
    }

    public static float getValues(Matrix matrix, int offset) {
        matrix.getValues(mMatrixValues);
        return mMatrixValues[offset];
    }
}