SnakeLayoutStrategy class

蛇形布局策略 从左到右、从上到下,每行交替方向

Implemented types

Constructors

SnakeLayoutStrategy()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
策略名称
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generatePositions({required int columns, required int rows, required HexOrientation orientation, int? count}) List<HexCoordinate>
根据策略生成坐标序列
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