PixelRectToRect(Double) Method

Converts the PixelRect to a device-independent Rect using the specified scaling factor.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Rect ToRect(
	double scale
)

Parameters

scale  Double
The scaling factor.

Return Value

Rect
The device-independent rect.

See Also