CrosshairBehaviorRenderer class
Crosshair renderer class for mutable fields and methods.
- Mixed-in types
Constructors
- CrosshairBehaviorRenderer(CartesianStateProperties _stateProperties)
- Creates an argument constructor for Crosshair renderer class.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDoubleTap(
double xPos, double yPos) → void -
Enables the crosshair on double tap.
override
-
onEnter(
double xPos, double yPos) → void -
Enables the crosshair on mouse hover.
override
-
onExit(
double xPos, double yPos) → void -
Disables the crosshair on mouse exit.
override
-
onLongPress(
double xPos, double yPos) → void -
Enables the crosshair on long press.
override
-
onPaint(
Canvas canvas) → void -
Draws the crosshair.
override
-
onTouchDown(
double xPos, double yPos) → void -
Enables the crosshair on touch down.
override
-
onTouchMove(
double xPos, double yPos) → void -
Enables the crosshair on touch move.
override
-
onTouchUp(
double xPos, double yPos) → void -
Enables the crosshair on touch up.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited