PositionMetricType
- public abstract class ValueMarker<PositionMetricType extends PositionMetric> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ValueMarker.TextOrientation |
Constructor and Description |
---|
ValueMarker(Number value,
String text,
PositionMetricType textPosition) |
ValueMarker(Number value,
String text,
PositionMetricType textPosition,
int linePaint,
int textPaint) |
ValueMarker(Number value,
String text,
PositionMetricType textPosition,
android.graphics.Paint linePaint,
android.graphics.Paint textPaint) |
Modifier and Type | Method and Description |
---|---|
android.graphics.Paint |
getLinePaint() |
String |
getText() |
int |
getTextMargin()
Currently not implemented.
|
ValueMarker.TextOrientation |
getTextOrientation() |
android.graphics.Paint |
getTextPaint() |
PositionMetricType |
getTextPosition() |
Number |
getValue() |
void |
setLinePaint(android.graphics.Paint linePaint) |
void |
setText(String text) |
void |
setTextMargin(int textMargin) |
void |
setTextOrientation(ValueMarker.TextOrientation textOrientation)
Currently not implemented.
|
void |
setTextPaint(android.graphics.Paint textPaint) |
void |
setTextPosition(PositionMetricType textPosition) |
void |
setValue(Number value) |
public ValueMarker(Number value, String text, PositionMetricType textPosition)
public ValueMarker(Number value, String text, PositionMetricType textPosition, android.graphics.Paint linePaint, android.graphics.Paint textPaint)
value
- text
- textPosition
- linePaint
- textPaint
- public ValueMarker(Number value, String text, PositionMetricType textPosition, int linePaint, int textPaint)
public String getText()
public void setText(String text)
public Number getValue()
public void setValue(Number value)
public android.graphics.Paint getLinePaint()
public void setLinePaint(android.graphics.Paint linePaint)
public android.graphics.Paint getTextPaint()
public void setTextPaint(android.graphics.Paint textPaint)
public ValueMarker.TextOrientation getTextOrientation()
public void setTextOrientation(ValueMarker.TextOrientation textOrientation)
textOrientation
- public int getTextMargin()
public void setTextMargin(int textMargin)
public PositionMetricType getTextPosition()
public void setTextPosition(PositionMetricType textPosition)