Coordinate class
An instance of coordinate point mapped by CoordinatesOptions.
- Annotations
Constructors
- Coordinate({required double value, Offset offset = Offset.zero, required double radius, required double zoomedFactor})
-
Creates a coordinate point.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- offset → Offset
-
The center of the coordinate point.
final
- radius → double
-
The radius of the coordinate point.
final
- rect → Rect
-
Rect of coordinate points.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → double
-
Value that change as the user slides.
final
- zoomedFactor → double
-
Increase the magnification factor of the touch area.
final
- zoomedRect → Rect
-
Zoomed rect of coordinate points.
no setter
Methods
-
copyWith(
{double? value, Offset? offset, double? radius, double? zoomedFactor}) → Coordinate - Creates a new Coordinate from this one by updating individual properties.
-
hitTest(
Offset position) → bool - Tests whether a given point will be considered to hit a coordinate point.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override