PixelSize.

ToSize(double) Method

Summary

Converts the PixelSize to a device-independent Size using the specified scaling factor.
Namespace
Avalonia
Containing Type
PixelSize

Syntax

public Size ToSize(double scale)

Parameters

Name Type Description
scale double The scaling factor.

Return Value

Type Description
Size The device-independent size.