PixelRectToRectWithDpi(Double) Method
Converts the
PixelRect to a device-independent
Rect using the
specified dots per inch (DPI).
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Rect ToRectWithDpi(
double dpi
)
Public Function ToRectWithDpi (
dpi As Double
) As Rect
member ToRectWithDpi :
dpi : float -> Rect
- dpi Double
- The dots per inch of the device.
RectThe device-independent rect.