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