SlotReelLayout class final

一列的环形条带布局,不持有离屏长图。

Annotations

Constructors

SlotReelLayout({required Rect clipRect, required List<int> stripPrizes, required double period, required List<double> stripStart, required int maxVisibleCells})
创建条带几何;洞使用 −1。
const

Properties

clipRect → Rect
预计算列裁剪矩形。
final
hashCode → int
The hash code for this object.
no setterinherited
maxVisibleCells → int
可见窗口容量上界,与奖品总数无关。
final
period → double
包含洞在内的周期长度。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stripPrizes → List<int>
各条带位置对应的奖品下标。
final
stripStart → List<double>
各位置在条带中的起点。
final

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