Skip to main content

RelativeRect(Double, Double, Double, Double, RelativeUnit) Constructor

Initializes a new instance of the RelativeRect structure.

Definition​

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

public RelativeRect(
double x,
double y,
double width,
double height,
RelativeUnit unit
)

Parameters​

  Double
The X position.
  Double
The Y position.
  Double
The width.
  Double
The height.
  RelativeUnit
The unit of the rect.

See Also​

Reference​

RelativeRect Structure
RelativeRect Overload
Avalonia Namespace