PixelSize.

WithWidth(int) Method

Summary

Returns a new PixelSize with the same height and the specified width.
Namespace
Avalonia
Containing Type
PixelSize

Syntax

public PixelSize WithWidth(int width)

Parameters

Name Type Description
width int The width.

Return Value

Type Description
PixelSize The new PixelSize.