struct Size
source · line 10public
public struct Size(val width: Double, val height: Double)
A nonnegative logical size, checked at operation boundaries.
field height
source · line 10public
val height: Double
constructor constructor
source · line 10public
constructor(val width: Double, val height: Double)
parameter height
source · line 10public
val height: Double
parameter width
source · line 10public
val width: Double
field width
source · line 10public
val width: Double
function equals
source · line 10publiccompiler-derived
operator fun equals(other: Size): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: Double.