toPortrait

open fun toPortrait(): Size

Create size in portrait orientation.

Return

Copy of this size in portrait orientation (width <= height).