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.