Commit 6eca384 1 parent 953ee6f commit 6eca384 Copy full SHA for 6eca384
File tree 1 file changed +3
-1
lines changed
circularimageview/src/main/java/com/github/abdularis/civ
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 14
14
import android .graphics .drawable .Drawable ;
15
15
import android .net .Uri ;
16
16
import android .support .annotation .ColorInt ;
17
+ import android .support .annotation .Dimension ;
17
18
import android .support .annotation .DrawableRes ;
18
19
import android .support .annotation .Nullable ;
19
20
import android .util .AttributeSet ;
@@ -179,11 +180,12 @@ public void setStrokeColor(@ColorInt int color) {
179
180
invalidate ();
180
181
}
181
182
183
+ @ Dimension
182
184
public float getStrokeWidth () {
183
185
return mStrokePaint .getStrokeWidth ();
184
186
}
185
187
186
- public void setStrokeWidth (float width ) {
188
+ public void setStrokeWidth (@ Dimension float width ) {
187
189
mStrokePaint .setStrokeWidth (width );
188
190
invalidate ();
189
191
}
You can’t perform that action at this time.
0 commit comments