Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Budiyev committed Jan 12, 2018
1 parent 66a5efa commit c6ec982
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,15 @@ public void setIndeterminateSweepAnimationDuration(@IntRange(from = 0) long dura
}
}

/**
* Foreground stroke cap
*/
public void setForegroundStrokeCap(@NonNull Paint.Cap cap) {
mForegroundStrokePaint.setStrokeCap(cap);
invalidateForegroundStrokeCapAngle();
invalidate();
}

/**
* Foreground stroke color
*/
Expand All @@ -254,14 +263,6 @@ public void setForegroundStrokeWidth(@FloatRange(from = 0f, to = Float.MAX_VALUE
invalidate();
}

/**
* Foreground stroke cap
*/
public void setForegroundStrokeCap(@NonNull Paint.Cap cap) {
mForegroundStrokePaint.setStrokeCap(cap);
invalidate();
}

/**
* Background stroke color
*/
Expand Down

0 comments on commit c6ec982

Please sign in to comment.