screenPathBoundsOn method

Size screenPathBoundsOn(
  1. Orientation orientation
)

The screen path bounds choice depends on the orientation.

Implementation

Size screenPathBoundsOn(Orientation orientation) =>
    orientation == Orientation.portrait
        ? screenPath.getBounds().size
        : screenPath.getBounds().size.flipped;