Size.

WithWidth(double) Method

Summary

Returns a new Size with the same height and the specified width.
Namespace
Avalonia
Containing Type
Size

Syntax

public Size WithWidth(double width)

Parameters

Name Type Description
width double The width.

Return Value

Type Description
Size The new Size.