SizeWithWidth Method

Returns a new Size with the same height and the specified width.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Size WithWidth(
	double width
)

Parameters

width  Double
The width.

Return Value

Size
The new Size.

See Also