PixelRectToRectWithDpi(Vector) Method

Converts the PixelRect to a device-independent Rect using the specified dots per inch (DPI).

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Rect ToRectWithDpi(
	Vector dpi
)

Parameters

dpi  Vector
The dots per inch of the device.

Return Value

Rect
The device-independent rect.

See Also