toLogical

external fun toLogical(scaleFactor: Double): LogicalSize(source)

Converts the wrapped size to a logical one.

Returns the inner value untouched when it already is a {@linkcode LogicalSize}.

Since

2.1.0

Parameters

scaleFactor

The monitor scale factor, e.g. await appWindow.scaleFactor().