resolve abstract method

Offset resolve(
  1. Alignment child,
  2. Alignment portal
)

Computes spacing between the child's anchor and the portal's anchor, returning an offset by which to shift the portal.

Implementation

Offset resolve(Alignment child, Alignment portal);