public interface RoundStatus
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getBorderColor()
获取边框颜色
|
float |
getBorderWidth()
获取边框宽度
|
float |
getBottomLeftRadius()
获取左下角圆角半径
|
float |
getBottomRightRadius()
获取右下角圆角半径
|
int |
getStartColor()
获取渐变色开始颜色
|
int |
getStopColor()
获取渐变色结束颜色
|
float |
getTopLeftRadius()
获取左上角圆角半径
|
float |
getTopRightRadius()
获取右上角圆角半径
|
int |
getViewMeasureMode()
获取最大尺寸模式
|
void |
setBorderColor(int borderColor)
设置边框颜色
|
void |
setBorderWidth(float width)
设置边框宽度
|
void |
setBottomLeftRadius(float bottomLeftRadius)
设置左下角圆角半径
|
void |
setBottomRightRadius(float bottomRightRadius)
设置右下角圆角半径
|
void |
setRadius(float radius)
设置所有圆角的半径
|
void |
setTopLeftRadius(float topLeftRadius)
设置左上角圆角半径
|
void |
setTopRightRadius(float topRightRadius)
设置右上角圆角半径
|
void |
update(int w,
int h)
刷新ui
|
void setRadius(float radius)
radius - void setTopLeftRadius(float topLeftRadius)
topLeftRadius - void setTopRightRadius(float topRightRadius)
topRightRadius - void setBottomRightRadius(float bottomRightRadius)
bottomRightRadius - void setBottomLeftRadius(float bottomLeftRadius)
bottomLeftRadius - void setBorderWidth(float width)
void setBorderColor(int borderColor)
borderColor - float getTopLeftRadius()
float getTopRightRadius()
float getBottomRightRadius()
float getBottomLeftRadius()
float getBorderWidth()
int getBorderColor()
int getViewMeasureMode()
int getStartColor()
int getStopColor()
void update(int w,
int h)