Example usage for android.graphics Paint Paint

List of usage examples for android.graphics Paint Paint

Introduction

In this page you can find the example usage for android.graphics Paint Paint.

Prototype

public Paint() 

Source Link

Document

Create a new paint with default settings.

Usage

From source file:com.skytree.epubtest.BookViewActivity.java

public LineDrawable(int color, int strokeWidth) {
    mPaint = new Paint();
    mPaint.setStrokeWidth(3);
    mColor = color;
    mStrokeWidth = strokeWidth;
}