SnakePatternGenerator class
蛇形布局生成器
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
-
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
Static Methods
-
createSnake(
{required FreeHexagon start, required int count, double? size, double gap = 0.0, double bendFactor = 0.3, int initialDirection = 0}) → List< FreeHexagon> - 创建蛇形排列的六边形
-
createSnakeWithBounds(
{required FreeHexagon start, required int count, required Rect bounds, double? size, double sizeProvider(int index)?, double gap = 0.0, String direction = 'right', bool clockwise = true}) → List< FreeHexagon> - 创建带边界回折的蛇形排列
-
createSpiralSnake(
{required FreeHexagon center, required int count, double? size, double gap = 0.0, double tightness = 0.5}) → List< FreeHexagon> - 创建蛇形螺旋(从中心向外)
-
createZigZag(
{required FreeHexagon start, required int count, double? size, double gap = 0.0, int zigWidth = 3, int zigHeight = 2}) → List< FreeHexagon> - 创建Z字形排列