FromRectWithDpi(Rect, Vector) Method
Converts a Rect to device pixels using the specified dots per inch (DPI).
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static PixelRect FromRectWithDpi(
Rect rect,
Vector dpi
)
Public Shared Function FromRectWithDpi (
rect As Rect,
dpi As Vector
) As PixelRect
static member FromRectWithDpi :
rect : Rect *
dpi : Vector -> PixelRect
Parameters
Return Value
PixelRect
The device-independent point.
See Also
Reference
PixelRect Structure
FromRectWithDpi Overload
Avalonia Namespace