WithWidth Method
Returns a new Rect with the specified width.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Rect WithWidth(
double width
)
Public Function WithWidth (
width As Double
) As Rect
member WithWidth :
width : float -> Rect
Parameters
- Double
- The width.