ShapeAttr<S extends Shape> class

The specification of a shape attribute.

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

Inheritance

Constructors

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

Properties

encoder ↔ (S Function(Tuple)?)
Indicates how to get attribute form 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>>>?
Attribute updaters when a selection occurs.
getter/setter pairinherited
value ↔ S?
Indicates a attribute value for all tuples directly.
getter/setter pairinherited
values List<S>?
Target attribute values.
getter/setter pairinherited
variable String?
The variable this attribute 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