Size

open fun Size(@IntRange(from = 0width: Int, @IntRange(from = 0height: Int)

Create a new immutable Size instance.

Parameters

width

The width of the size

height

The height of the size