FPortalOverflow class abstract interface

An interface for computing how to shift a portal when it overflows out of the viewport.

See:

  • Visualization for a visual demonstration of how the overflow strategies work.

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

call(Size view, FPortalChildRect child, FPortalRect portal) Offset
Returns the spacing offset for the portal.
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

Constants

allow → const FPortalOverflow
Allows the portal to overflow.
flip → const FPortalOverflow
Flips the portal to the opposite side to avoid overflow, falling back to sliding along the edge if needed.
slide → const FPortalOverflow
Slides the portal along the child's edge until the portal does not overflow.