T
- The modifier to which this behavior will be attached.public class CursorCrosshairDrawableBehavior<T extends CursorModifier> extends DrawableBehavior<T>
CursorModifier
at the hit test point.lastUpdatePoint, modifier, modifierType, parentSurface, services
Constructor and Description |
---|
CursorCrosshairDrawableBehavior(java.lang.Class<T> modifierType)
Creates a new instance of the
CursorCrosshairDrawableBehavior |
Modifier and Type | Method and Description |
---|---|
protected void |
onDrawOverlay(android.graphics.Canvas canvas)
Called when the Overlay's onDraw(Canvas) method is called.
|
attachTo, clear, detach, onBeginUpdate, onEndUpdate, onUpdate
applyThemeProvider, attachTo, getIsEnabled, isAttached, isLastPointValid, onIsEnabledChanged, resetLastUpdatePoint, setIsEnabled
public CursorCrosshairDrawableBehavior(java.lang.Class<T> modifierType)
CursorCrosshairDrawableBehavior
modifierType
- The type of the associated IChartModifier
protected void onDrawOverlay(android.graphics.Canvas canvas)
onDrawOverlay
in class DrawableBehavior<T extends CursorModifier>
canvas
- The Canvas
instance to draw on.