Skip to main content

Rect(Point, Point) Constructor

Initializes a new instance of the Rect structure.

Definition

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

public Rect(
Point topLeft,
Point bottomRight
)

Parameters

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

See Also

Reference

Rect Structure
Rect Overload
Avalonia Namespace