Example usage for android.graphics Paint getStrokeCap

List of usage examples for android.graphics Paint getStrokeCap

Introduction

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

Prototype

public Cap getStrokeCap() 

Source Link

Document

Return the paint's Cap, controlling how the start and end of stroked lines and paths are treated.

Usage

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

public void setCurrentPaint(Paint currentPaint) {
    mCurrentPaint = currentPaint;/*  www  . j  a  v a  2s .co m*/
    updateStrokeCap(currentPaint.getStrokeCap());
    updateStrokeChange((int) currentPaint.getStrokeWidth());
}