ShapeEncode<S extends Shape> class

The specification of a shape encode.

Type S of the values must belong to the mark's geometry type.

Inheritance

Constructors

ShapeEncode({S? value, String? variable, List<S>? values, S encoder(Tuple)?, Map<String, Map<bool, SelectionUpdater<S>>>? updaters})
Creates a shape encode.

Properties

encoder ↔ (S Function(Tuple)?)
Indicates how to get encode value from a tuple directly.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stops List<double>?
Stops corresponding to values.
getter/setter pairinherited
updaters Map<String, Map<bool, SelectionUpdater<S>>>?
Encode updaters when a selection occurs.
getter/setter pairinherited
value ↔ S?
Indicates a encode value for all tuples directly.
getter/setter pairinherited
values List<S>?
Target encode values.
getter/setter pairinherited
variable String?
The variable this encode encodes from.
getter/setter pairinherited

Methods

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.
inherited