Rect.

Rect(Point, Size) Constructor

Summary

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

Syntax

public Rect(Point position, Size size)

Parameters

Name Type Description
position Point The position of the rectangle.
size Size The size of the rectangle.

Return Value

Type Description
void