Skip to content

Commit

Permalink
Modify:注释信息补充
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaofeidev committed Jul 6, 2020
1 parent d677b4e commit 86a6a31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public class RoundFrameLayout extends FrameLayout implements RoundStatus {
private final int INVALID_VALUE = -1;
//整个 View 的圆角信息都在这个对象里面
private RoundStatus mRoundStatus;

//圆角效果主要存在这个路径里
private Path mPath;
//圆角矩形描述
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ public class RoundImageView extends AppCompatImageView implements RoundStatus {
public static final int STROKE_MODE_PADDING = 0;
//描边绘制模式,直接覆盖到图片的像素上面
public static final int STROKE_MODE_OVERLAY = 1;

//整个 View 的圆角信息都在这个对象里面
private RoundStatus mRoundStatus;
//描边的圆角信息
private RoundStatus mRoundStatusStroke;

//圆角效果主要存在这个路径里
private Path mPath;
//圆角矩形描述
private RectF mRectF;

//画笔
private Paint mPaint;

//描边的路径
Expand Down

0 comments on commit 86a6a31

Please sign in to comment.