invoke

operator fun invoke(width: Double = 0.0, height: Double = width): Size

Creates a Size.

Return

a new Size

Parameters

width

Horizontal extent; cannot be negative

height

Vertical extent; cannot be negative