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