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 getGameOverRestartMessageColor() { Paint paint = new Paint(); paint.setColor(Color.YELLOW); paint.setTextSize(20); paint.setTypeface(Typeface.DEFAULT_BOLD); // paint.setShadowLayer(2, 3, 3, Color.WHITE); return paint; } }