CustomMark class
The specification of a custom mark.
A custom mark has no special graphing rule. It accepts any built-in or custom Shapes.
It will not check or complete the position points.
Constructors
-
CustomMark({ColorEncode? color, ElevationEncode? elevation, GradientEncode? gradient, LabelEncode? label, Varset? position, ShapeEncode<
Shape> ? shape, SizeEncode? size, List<Modifier> ? modifiers, int? layer, Selected? selected, StreamController<Selected?> ? selectionStream, Transition? transition, Set<MarkEntrance> ? entrance, String? tag(Tuple)?}) - Creates a custom mark.
Properties
- color ↔ ColorEncode?
-
The color encode of this mark.
getter/setter pairinherited
- elevation ↔ ElevationEncode?
-
The shadow elevation encode of this mark.
getter/setter pairinherited
-
entrance
↔ Set<
MarkEntrance> ? -
The stratage for mark elements to enter in initialization if there is animation.
getter/setter pairinherited
- gradient ↔ GradientEncode?
-
The gradient encode of this mark.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- label ↔ LabelEncode?
-
The label encode of this mark.
getter/setter pairinherited
- layer ↔ int?
-
The layer of this mark.
getter/setter pairinherited
-
modifiers
↔ List<
Modifier> ? -
The collision modifiers applied to this mark.
getter/setter pairinherited
- position ↔ Varset?
-
Algebra expression of the mark position.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selected ↔ Selected?
-
The selection name and selected tuple indexes triggered initially.
getter/setter pairinherited
-
selectionStream
↔ StreamController<
Selected?> ? -
The interaction stream of selections.
getter/setter pairinherited
-
shape
↔ ShapeEncode<
Shape> ? -
The shape encode of this mark.
getter/setter pairinherited
- size ↔ SizeEncode?
-
The size encode of this mark.
getter/setter pairinherited
- tag ↔ (String? Function(Tuple)?)
-
Tags for each mark element.
getter/setter pairinherited
- transition ↔ Transition?
-
The transition animation of this mark.
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