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 Matrix configureMatrix(int rotation, int rotationDegrees) {
        Matrix matrix = new Matrix();
        if (rotation != 0f) {
            matrix.preRotate(rotationDegrees);
        }
        return matrix;
    }
}