Example usage for android.graphics Paint getStrokeWidth

List of usage examples for android.graphics Paint getStrokeWidth

Introduction

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

Prototype

public float getStrokeWidth() 

Source Link

Document

Return the width for stroking.

Usage

From source file:color.kidpaint.com.kidpaintcolor.dialog.BrushPickerDialog.java

public void setCurrentPaint(Paint currentPaint) {
    mCurrentPaint = currentPaint;//w w  w . jav a  2 s  .c om
    updateStrokeCap(currentPaint.getStrokeCap());
    updateStrokeChange((int) currentPaint.getStrokeWidth());
}