public class BorderColorDrawable
extends Drawable
Modifier and Type | Method and Description |
---|---|
void |
draw(Canvas canvas) |
int |
getOpacity() |
void |
init(PathEffect pathEffect,
float leftBorderWidth,
float topBorderWidth,
float rightBorderWidth,
float bottomBorderWidth,
int leftBorderColor,
int topBorderColor,
int rightBorderColor,
int bottomBorderColor) |
void |
setAlpha(int alpha) |
void |
setColorFilter(ColorFilter colorFilter) |
public void init(PathEffect pathEffect, float leftBorderWidth, float topBorderWidth, float rightBorderWidth, float bottomBorderWidth, int leftBorderColor, int topBorderColor, int rightBorderColor, int bottomBorderColor)
public void draw(Canvas canvas)
public void setAlpha(int alpha)
public void setColorFilter(ColorFilter colorFilter)
public int getOpacity()