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