Skip to main content

RelativeRect(Rect, RelativeUnit) Constructor

Initializes a new instance of the RelativeRect structure.

Definition

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

public RelativeRect(
Rect rect,
RelativeUnit unit
)

Parameters

  Rect
The rectangle.
  RelativeUnit
The unit of the rect.

See Also

Reference

RelativeRect Structure
RelativeRect Overload
Avalonia Namespace