BaseScale<D, R extends num> class abstract

将给定的domain映射到range

Implementers

Constructors

BaseScale(List<D> domain, List<R> range, bool inverse)
当inverse为true时我们将反转domain

Properties

domain ↔ List<D>
表示域的范围
latefinal
hashCode → int
The hash code for this object.
no setterinherited
inverse → bool
final
range → List<R>
映射域的值(比如坐标等)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tickCount → int
no setter
viewInterval → num
no setter

Methods

domainValue(covariant num rangeData) → D
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rangeValue(DynamicData domainData) → num
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited