Size

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

Create a new immutable Size instance.

Parameters

width

The width of the size

height

The height of the size