Rect.

WithWidth(double) Method

Summary

Returns a new Rect with the specified width.
Namespace
Avalonia
Containing Type
Rect

Syntax

public Rect WithWidth(double width)

Parameters

Name Type Description
width double The width.

Return Value

Type Description
Rect The new Rect.