CenterForce class

中心力 让节点围绕中心

Inheritance

Constructors

CenterForce(Offset center)

Properties

hashCode → int
The hash code for this object.
no setterinherited
height ↔ num
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width ↔ num
getter/setter pairinherited

Methods

force([double alpha = 1]) → void
override
initialize(Context context, Graph graph, LCG lcg, num width, num height) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onFinish() → void
inherited
strength(double v) → double
toString() → String
A string representation of this object.
inherited
x(double xOffset) → double
y(double yOffset) → double

Operators

operator ==(Object other) → bool
The equality operator.
inherited