public final class LabelViewHelper
extends java.lang.Object
| Constructor and Description |
|---|
LabelViewHelper(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLabelBackgroundColor() |
int |
getLabelDistance() |
int |
getLabelHeight() |
int |
getLabelOrientation() |
int |
getLabelStrokeColor() |
int |
getLabelStrokeWidth() |
java.lang.String |
getLabelText() |
int |
getLabelTextColor() |
java.lang.String |
getLabelTextFont() |
int |
getLabelTextSize() |
int |
getLabelTextStyle() |
boolean |
isLabelVisual() |
void |
onDraw(android.graphics.Canvas canvas,
int measuredWidth,
int measuredHeight) |
void |
setLabelBackgroundAlpha(android.view.View view,
int alpha) |
void |
setLabelBackgroundColor(android.view.View view,
int backgroundColor) |
void |
setLabelDistance(android.view.View view,
int distance) |
void |
setLabelHeight(android.view.View view,
int height) |
void |
setLabelOrientation(android.view.View view,
int orientation) |
void |
setLabelStrokeColor(android.view.View view,
int strokeColor) |
void |
setLabelStrokeWidth(android.view.View view,
int strokeWidth) |
void |
setLabelText(android.view.View view,
java.lang.String text) |
void |
setLabelTextColor(android.view.View view,
int textColor) |
void |
setLabelTextFont(android.view.View view,
java.lang.String textFont) |
void |
setLabelTextSize(android.view.View view,
int textSize) |
void |
setLabelTextStyle(android.view.View view,
int textStyle) |
void |
setLabelVisual(android.view.View view,
boolean visual) |
public LabelViewHelper(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
public void onDraw(android.graphics.Canvas canvas,
int measuredWidth,
int measuredHeight)
public void setLabelHeight(android.view.View view,
int height)
public int getLabelHeight()
public void setLabelDistance(android.view.View view,
int distance)
public int getLabelStrokeWidth()
public void setLabelStrokeWidth(android.view.View view,
int strokeWidth)
public int getLabelDistance()
public boolean isLabelVisual()
public void setLabelVisual(android.view.View view,
boolean visual)
public int getLabelOrientation()
public void setLabelOrientation(android.view.View view,
int orientation)
public int getLabelTextColor()
public void setLabelTextColor(android.view.View view,
int textColor)
public int getLabelBackgroundColor()
public void setLabelBackgroundColor(android.view.View view,
int backgroundColor)
public int getLabelStrokeColor()
public void setLabelStrokeColor(android.view.View view,
int strokeColor)
public void setLabelBackgroundAlpha(android.view.View view,
int alpha)
public java.lang.String getLabelText()
public void setLabelText(android.view.View view,
java.lang.String text)
public int getLabelTextSize()
public void setLabelTextSize(android.view.View view,
int textSize)
public int getLabelTextStyle()
public void setLabelTextStyle(android.view.View view,
int textStyle)
public void setLabelTextFont(android.view.View view,
java.lang.String textFont)
public java.lang.String getLabelTextFont()