Android examples for Graphics:Paint
Create Stroke Paint
import android.graphics.Paint; public class Main{ public static Paint toStrokePaint( de.mirkosertic.gameengine.type.Color aColor) { Paint thePaint = new Paint(); thePaint.setARGB(255, aColor.r, aColor.g, aColor.b); thePaint.setStyle(Paint.Style.STROKE); return thePaint; }/*from ww w . j av a2 s .co m*/ }