Modifier class abstract

The specification of a collision modifier.

A collision modifier defines a method to modify the position of mark items, avoiding visual overlapping.

Modifiers could be customized by extending this class. Although all aesthetic encodes can be modified in a modifier, only the position is recommended. Rendering customization should be in the Shape.

Note that the modifier should be functional, which means to return a new groups list as result, not to change the input groups.

Implementers

Constructors

Modifier()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

equalTo(Object other) bool
Checks the equlity of two specs.
inherited
modify(AttributesGroups groups, Map<String, ScaleConv<dynamic, num>> scales, AlgForm form, CoordConv coord, Offset origin) AttributesGroups
Modifies the position of mark items.
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