public class LabelImageView
extends AppCompatImageView
| Constructor and Description |
|---|
LabelImageView(android.content.Context context) |
LabelImageView(android.content.Context context,
android.util.AttributeSet attrs) |
LabelImageView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLabelBackgroundColor() |
int |
getLabelDistance() |
int |
getLabelHeight() |
int |
getLabelOrientation() |
java.lang.String |
getLabelText() |
int |
getLabelTextColor() |
java.lang.String |
getLabelTextFont() |
int |
getLabelTextSize() |
int |
getLabelTextStyle() |
boolean |
isLabelVisual() |
protected void |
onDraw(android.graphics.Canvas canvas) |
void |
setLabelBackgroundAlpha(int alpha) |
void |
setLabelBackgroundColor(int backgroundColor) |
void |
setLabelDistance(int distance) |
void |
setLabelHeight(int height) |
void |
setLabelOrientation(int orientation) |
void |
setLabelText(java.lang.String text) |
void |
setLabelTextColor(int textColor) |
void |
setLabelTextFont(java.lang.String textFont) |
void |
setLabelTextSize(int textSize) |
void |
setLabelTextStyle(int textStyle) |
void |
setLabelVisual(boolean enable) |
public LabelImageView(android.content.Context context)
public LabelImageView(android.content.Context context,
android.util.AttributeSet attrs)
public LabelImageView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
protected void onDraw(android.graphics.Canvas canvas)
public void setLabelHeight(int height)
public int getLabelHeight()
public void setLabelDistance(int distance)
public int getLabelDistance()
public boolean isLabelVisual()
public void setLabelVisual(boolean enable)
public int getLabelOrientation()
public void setLabelOrientation(int orientation)
public int getLabelTextColor()
public void setLabelTextColor(int textColor)
public int getLabelBackgroundColor()
public void setLabelBackgroundColor(int backgroundColor)
public void setLabelBackgroundAlpha(int alpha)
public java.lang.String getLabelText()
public void setLabelText(java.lang.String text)
public int getLabelTextSize()
public void setLabelTextSize(int textSize)
public int getLabelTextStyle()
public void setLabelTextStyle(int textStyle)
public java.lang.String getLabelTextFont()
public void setLabelTextFont(java.lang.String textFont)