public class SuperViewHelper
extends java.lang.Object
| 构造器和说明 |
|---|
SuperViewHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getBorderColor() |
float |
getBorderWidth() |
float |
getBottomLeftRadius() |
float |
getBottomRightRadius() |
GradientDrawable.Orientation |
getOrientation() |
int |
getPaddingBottom() |
int |
getPaddingLeft() |
int |
getPaddingRight() |
int |
getPaddingTop() |
Paint |
getPaint() |
Paint |
getPaintBorder() |
Path |
getPath() |
Path |
getPathBorder() |
float[] |
getRadiusList() |
int |
getStartColor() |
int |
getStopColor() |
float |
getTopLeftRadius() |
float |
getTopRightRadius() |
int |
getViewMeasureMode() |
void |
initAttrs(Context context,
AttributeSet attrs) |
void |
setBorderColor(int borderColor) |
void |
setBorderWidth(float borderWidth) |
void |
setBottomLeftRadius(float bottomLeftRadius) |
void |
setBottomRightRadius(float bottomRightRadius) |
void |
setOrientation(GradientDrawable.Orientation orientation) |
void |
setPaddingBottom(int paddingBottom) |
void |
setPaddingLeft(int paddingLeft) |
void |
setPaddingRight(int paddingRight) |
void |
setPaddingTop(int paddingTop) |
void |
setRadiusList(float radius) |
void |
setTopLeftRadius(float topLeftRadius) |
void |
setTopRightRadius(float topRightRadius) |
void |
update(int w,
int h) |
public void initAttrs(Context context,
AttributeSet attrs)
public void update(int w,
int h)
public Path getPath()
public Paint getPaint()
public Path getPathBorder()
public Paint getPaintBorder()
public float[] getRadiusList()
public float getTopLeftRadius()
public float getTopRightRadius()
public float getBottomRightRadius()
public float getBottomLeftRadius()
public void setRadiusList(float radius)
public void setTopLeftRadius(float topLeftRadius)
public void setTopRightRadius(float topRightRadius)
public void setBottomRightRadius(float bottomRightRadius)
public void setBottomLeftRadius(float bottomLeftRadius)
public GradientDrawable.Orientation getOrientation()
public void setOrientation(GradientDrawable.Orientation orientation)
public int getViewMeasureMode()
public int getStartColor()
public int getStopColor()
public int getBorderColor()
public void setBorderColor(int borderColor)
public float getBorderWidth()
public void setBorderWidth(float borderWidth)
public void setPaddingLeft(int paddingLeft)
public void setPaddingRight(int paddingRight)
public void setPaddingTop(int paddingTop)
public void setPaddingBottom(int paddingBottom)
public int getPaddingLeft()
public int getPaddingRight()
public int getPaddingTop()
public int getPaddingBottom()