PixelRectToRect(Double) Method
Converts the
PixelRect to a device-independent
Rect using the
specified scaling factor.
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Rect ToRect(
double scale
)
Public Function ToRect (
scale As Double
) As Rect
member ToRect :
scale : float -> Rect
- scale Double
- The scaling factor.
RectThe device-independent rect.