RelativeRect.

RelativeRect(Point, Point, RelativeUnit) Constructor

Summary

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

Syntax

public RelativeRect(Point topLeft, Point bottomRight, RelativeUnit unit)

Parameters

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

Return Value

Type Description
void