Skip to main content

Rect(Point, Size) Constructor

Initializes a new instance of the Rect structure.

Definition

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

public Rect(
Point position,
Size size
)

Parameters

  Point
The position of the rectangle.
  Size
The size of the rectangle.

See Also

Reference

Rect Structure
Rect Overload
Avalonia Namespace