Skip to main content

PixelRect(PixelPoint, PixelPoint) Constructor

Initializes a new instance of the PixelRect structure.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public PixelRect(
PixelPoint topLeft,
PixelPoint bottomRight
)

Parameters​

  PixelPoint
The top left position of the rectangle.
  PixelPoint
The bottom right position of the rectangle.

See Also​

Reference​

PixelRect Structure
PixelRect Overload
Avalonia Namespace