max

open override fun max(other: Size): Size

Takes a different Size and returns a new Size that has the largest dimensions of the two, measured separately. So calling 3x5 on a 5x3 will returnThis 5x5.

Sources

(source)
Link copied to clipboard