DodgeModifier class

The specification of a dodge modifier.

The dodge method moves objects around locally so they do not collide.

Inheritance

Constructors

DodgeModifier({double? ratio, bool? symmetric})
Creates a dodge modifier.

Properties

hashCode int
The hash code for this object.
no setterinherited
ratio double?
The dodge ratio to the discrete band for each group.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symmetric bool?
Whether the dodge will go both side around the original x or only positive side.
getter/setter pair

Methods

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