Skip to main content

WithHeight Method

Returns a new Rect with the specified height.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public Rect WithHeight(
double height
)

Parameters​

  Double
The height.

Return Value​

Rect
The new Rect.

See Also​

Reference​

Rect Structure
Avalonia Namespace