Skip to main content

RelativeRect(Size, RelativeUnit) Constructor

Initializes a new instance of the RelativeRect structure.

Definition​

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

public RelativeRect(
Size size,
RelativeUnit unit
)

Parameters​

  Size
The size of the rectangle.
  RelativeUnit
The unit of the rect.

See Also​

Reference​

RelativeRect Structure
RelativeRect Overload
Avalonia Namespace