ClampSimulation class
- Inheritance
-
- Object
- DanmuSimulation
- ClampSimulation
Constructors
- ClampSimulation({required Offset clampOffset, double duration = 7})
Properties
- clampOffset → Offset
-
final
- duration → double
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFullShown ↔ bool
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stageRect ↔ Rect
-
getter/setter pairinherited
- time ↔ double
-
单位:秒
getter/setter pairinherited
- tolerance → Tolerance
-
finalinherited
Methods
-
copyWith(
{Offset? clampOffset, double? duration}) → ClampSimulation -
dOffset(
double time) → Offset -
override
-
isDone(
Offset o, double dt) → Offset? -
通常返回null为结束
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offset(
double time) → Offset -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited