Rect.

Rect(Point, Point) Constructor

Summary

Initializes a new instance of the Rect structure.
Namespace
Avalonia
Containing Type
Rect

Syntax

public Rect(Point topLeft, Point bottomRight)

Parameters

Name Type Description
topLeft Point The top left position of the rectangle.
bottomRight Point The bottom right position of the rectangle.

Return Value

Type Description
void