screenPathBoundsOn method
The screen path bounds choice depends on the orientation.
Implementation
Size screenPathBoundsOn(Orientation orientation) =>
orientation == Orientation.portrait
? screenPath.getBounds().size
: screenPath.getBounds().size.flipped;