Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Paint.Style;

public class Main {
    public static Paint getUIPainter() {
        Paint uiPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
        uiPaint.setColor(Color.argb(128, 255, 255, 255));
        uiPaint.setStyle(Style.STROKE);
        uiPaint.setStrokeWidth((float) 3.0);
        return uiPaint;
    }
}