struct LogicalSize
source · line 7public
public struct LogicalSize(val width: Double, val height: Double)
A nonnegative logical content size, validated when used by a window operation.
field height
source · line 7public
val height: Double
function toPhysical
source · line 9public
public fun toPhysical(scaleFactor: Double): PhysicalSize
Computes allocation pixels by rounding each dimension upward.
parameter scaleFactor
source · line 9public
scaleFactor: Double
field width
source · line 7public
val width: Double
constructor constructor
source · line 7public
constructor(val width: Double, val height: Double)
parameter width
source · line 7public
val width: Double
parameter height
source · line 7public
val height: Double
function equals
source · line 7publiccompiler-derived
operator fun equals(other: LogicalSize): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: Double.