Java tutorial
//package com.java2s; //License from project: Open Source License import android.graphics.Color; import android.graphics.Paint; import android.graphics.Typeface; public class Main { public static Paint getGameOverColor() { Paint paint = new Paint(); paint.setColor(Color.WHITE); paint.setTextSize(80); paint.setTypeface(Typeface.DEFAULT_BOLD); paint.setShadowLayer(2, 3, 3, Color.GRAY); return paint; } }