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
-
- Object
- Encode<
S> - ChannelEncode<
S> - ShapeEncode
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.
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
stops
↔ List<
double>? -
Stops corresponding to values.
read / writeinherited
-
updaters
↔ Map<
String, Map< bool, SelectionUpdater< S>>>? -
Encode updaters when a selection occurs.
read / writeinherited
- value ↔ S?
-
Indicates a encode value for all tuples directly.
read / writeinherited
-
values
↔ List<
S>? -
Target encode values.
read / writeinherited
- variable ↔ String?
-
The variable this encode encodes from.
read / writeinherited
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