PixelRectFromRectWithDpi(Rect, Double) Method
Converts a
Rect to device pixels using the specified dots per inch (DPI).
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static PixelRect FromRectWithDpi(
Rect rect,
double dpi
)
Public Shared Function FromRectWithDpi (
rect As Rect,
dpi As Double
) As PixelRect
static member FromRectWithDpi :
rect : Rect *
dpi : float -> PixelRect
- rect Rect
- The rect.
- dpi Double
- The dots per inch of the device.
PixelRectThe device-independent point.