PixelRectToRectWithDpi(Vector) 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(
Vector dpi
)
Public Function ToRectWithDpi (
dpi As Vector
) As Rect
member ToRectWithDpi :
dpi : Vector -> Rect
- dpi Vector
- The dots per inch of the device.
RectThe device-independent rect.