com.androidplot.xy
Class ValueMarker<PositionMetricType extends PositionMetric>
java.lang.Object
com.androidplot.xy.ValueMarker<PositionMetricType>
- Type Parameters:
PositionMetricType
-
- Direct Known Subclasses:
- XValueMarker, YValueMarker
public abstract class ValueMarker<PositionMetricType extends PositionMetric>
- extends Object
Encapsulates a single axis line marker drawn onto an XYPlot at a specified value.
ValueMarker
public ValueMarker(Number value,
PositionMetricType textPosition)
ValueMarker
public ValueMarker(Number value,
PositionMetricType textPosition,
android.graphics.Paint linePaint,
android.graphics.Paint textPaint,
android.graphics.Paint backgroundPaint)
getTextPosition
public PositionMetricType getTextPosition()
setTextPosition
public void setTextPosition(PositionMetricType textPosition)
getValue
public Number getValue()
setValue
public void setValue(Number value)
getLinePaint
public android.graphics.Paint getLinePaint()
setLinePaint
public void setLinePaint(android.graphics.Paint linePaint)
getTextPaint
public android.graphics.Paint getTextPaint()
setTextPaint
public void setTextPaint(android.graphics.Paint textPaint)
getBackgroundPaint
public android.graphics.Paint getBackgroundPaint()
setBackgroundPaint
public void setBackgroundPaint(android.graphics.Paint backgroundPaint)
getTextOrientation
public ValueMarker.TextOrientation getTextOrientation()
setTextOrientation
public void setTextOrientation(ValueMarker.TextOrientation textOrientation)
- Currently not implemented. Sets the orientation of the text portion of this
ValueMarker.
- Parameters:
textOrientation
-
getTextMargin
public int getTextMargin()
- Currently not implemented.
- Returns:
setTextMargin
public void setTextMargin(int textMargin)
Copyright © 2011. All Rights Reserved.