Java tutorial
//package com.java2s; //License from project: Apache License import android.graphics.Paint; public class Main { static void mutatePaint(Paint paint, int color, float strokeWidth, Paint.Style style) { paint.setColor(color); paint.setStrokeWidth(strokeWidth); paint.setStyle(style); } }