PixelRect.

WithX(int) Method

Summary

Returns a new PixelRect with the specified X position.
Namespace
Avalonia
Containing Type
PixelRect

Syntax

public PixelRect WithX(int x)

Parameters

Name Type Description
x int The x position.

Return Value

Type Description
PixelRect The new PixelRect.