BinaryLayout class

近似平衡二叉树排列 为宽矩形选择水平分区,为高矩形选择垂直分区的布局方式。 由于权重只能为int 因此内部会进行相关的double->int的转换

Inheritance

Constructors

BinaryLayout(TreeMapSeries series)

Properties

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

Methods

layout(TreeMapNode root, Rect area) → void
给定一个区域范围和节点,对该节点的Children进行布局(不包含孩子的孩子)
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