Skip to main content

RelativeRect(Point, Point, RelativeUnit) Constructor

Initializes a new instance of the RelativeRect structure.

Definition

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

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

Parameters

  Point
The top left position of the rectangle.
  Point
The bottom right position of the rectangle.
  RelativeUnit
The unit of the rect.

See Also

Reference

RelativeRect Structure
RelativeRect Overload
Avalonia Namespace