ScaleZoomable<N extends num> class
abstract
- Inheritance
- Implementers
Constructors
- ScaleZoomable(N minValue, N maxValue, N zoom)
Properties
- format → String
-
The data format of this scale.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxValue → N
-
finalinherited
- minValue → N
-
finalinherited
- range ↔ N
-
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- zero → N
-
The
zero
value for this scale format.no setterinherited - zoom → N
-
final
Methods
-
denormalize(
N normalizedValue) → N -
Denormalize
normalizedValue
to values of this scale (in the range minValue to maxValue).inherited -
denormalizeList(
List< N> normalizedValues) → List<N> -
Denormalizes
values
using denormalize.inherited -
normalize(
N value) → N -
Normalize
value
to this scale (in the range0..1
)inherited -
normalizeList(
List< N> values) → List<N> -
Normalizes
values
using normalize.inherited -
normalizeNum(
num value) → N -
Normalize
value
to this scale (in the range0..1
)inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{bool withIndent = false}) → String -
Converts to an encoded JSON.
inherited
-
toJsonMap(
) → Map< String, dynamic> -
Converts this Scale to a JSON Map.
inherited
-
toN(
num value) → N -
Converts
value
toN
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
Returns
true
ifother
is equals tothis
.inherited