Toggle side menu
Toggle side menu
Home
Documentation
API
PixelRect
.
ToRect
(double)
Method
Summary
Converts the
PixelRect
to a device-independent
Rect
using the specified scaling factor.
Namespace
Avalonia
Containing Type
PixelRect
Syntax
public Rect ToRect(double scale)
Parameters
Name
Type
Description
scale
double
The scaling factor.
Return Value
Type
Description
Rect
The device-independent rect.